3 files changed,
12 insertions(+),
6 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2025-09-07 19:24:06 +0300
Parent:
93a5fc5
M
config/niri/waybar.jsonc
@@ -17,8 +17,8 @@ "niri/language",
"tray", "battery", "power-profiles-daemon", - "backlight", "idle_inhibitor", + "backlight", "pulseaudio", "network" ]
M
config/waybar/modules/info.jsonc
@@ -83,10 +83,10 @@ "on-scroll-down": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-"
}, "idle_inhibitor": { - "format": "{icon}", + "format": "{icon} ", "format-icons": { - "activated": " ", - "deactivated": " " + "activated": "", + "deactivated": "" } } }
M
config/waybar/style.css
@@ -30,14 +30,20 @@ border: 1px solid @bg-darker-color;
} #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; margin: 5px 5px 5px 5px; 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; }