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

This commit is contained in:
Oleksandr Smirnov 2025-09-07 19:24:06 +03:00
parent 93a5fc5bc7
commit 8ae57e2ec4
No known key found for this signature in database
3 changed files with 12 additions and 6 deletions

View file

@ -17,8 +17,8 @@
"tray",
"battery",
"power-profiles-daemon",
"backlight",
"idle_inhibitor",
"backlight",
"pulseaudio",
"network"
]

View file

@ -85,8 +85,8 @@
"idle_inhibitor": {
"format": "{icon} ",
"format-icons": {
"activated": "",
"deactivated": ""
"activated": "󰅶",
"deactivated": "󰛊"
}
}
}

View file

@ -30,8 +30,7 @@ tooltip {
}
#language, #cpu, #memory, #workspaces, #window, #tray, #clock, #battery,
#power-profiles-daemon, #pulseaudio, #network, #backlight, #temperature,
#idle_inhibitor {
#pulseaudio, #network, #backlight, #temperature {
background-color: @bg-darker-color;
color: @fg-color;
border-radius: 16px;
@ -39,6 +38,13 @@ tooltip {
padding: 0px 10px 0px 10px;
}
#power-profiles-daemon, #idle_inhibitor {
background-color: @bg-darker-color;
padding: 0px 10px 0px 14px;
}
#power-profiles-daemon { border-radius: 16px 0 0 16px; margin: 5px 0 5px 5px; }
#idle_inhibitor { border-radius: 0 16px 16px 0; margin: 5px 5px 5px 0; }
#network, #backlight { color: @blue; }
#cpu, #pulseaudio, #memory, #clock, #temperature { color: @active-bg-color; }
#language { color: @red; }