waybar: unite power-profiles-daemon, and idle_inhibitor on one island

olexsmir.xyz 8ae57e2e 93a5fc5b

verified
Changed files
+12 -6
config
niri
waybar
+1 -1
config/niri/waybar.jsonc
··· 17 17 "tray", 18 18 "battery", 19 19 "power-profiles-daemon", 20 - "backlight", 21 20 "idle_inhibitor", 21 + "backlight", 22 22 "pulseaudio", 23 23 "network" 24 24 ]
+3 -3
config/waybar/modules/info.jsonc
··· 83 83 }, 84 84 85 85 "idle_inhibitor": { 86 - "format": "{icon}", 86 + "format": "{icon} ", 87 87 "format-icons": { 88 - "activated": " ", 89 - "deactivated": " " 88 + "activated": "󰅶", 89 + "deactivated": "󰛊" 90 90 } 91 91 } 92 92 }
+8 -2
config/waybar/style.css
··· 30 30 } 31 31 32 32 #language, #cpu, #memory, #workspaces, #window, #tray, #clock, #battery, 33 - #power-profiles-daemon, #pulseaudio, #network, #backlight, #temperature, 34 - #idle_inhibitor { 33 + #pulseaudio, #network, #backlight, #temperature { 35 34 background-color: @bg-darker-color; 36 35 color: @fg-color; 37 36 border-radius: 16px; 38 37 margin: 5px 5px 5px 5px; 39 38 padding: 0px 10px 0px 10px; 40 39 } 40 + 41 + #power-profiles-daemon, #idle_inhibitor { 42 + background-color: @bg-darker-color; 43 + padding: 0px 10px 0px 14px; 44 + } 45 + #power-profiles-daemon { border-radius: 16px 0 0 16px; margin: 5px 0 5px 5px; } 46 + #idle_inhibitor { border-radius: 0 16px 16px 0; margin: 5px 5px 5px 0; } 41 47 42 48 #network, #backlight { color: @blue; } 43 49 #cpu, #pulseaudio, #memory, #clock, #temperature { color: @active-bg-color; }