diff --git a/env/.config/waybar/config.jsonc b/env/.config/waybar/config.jsonc index 5c71f85..f436326 100644 --- a/env/.config/waybar/config.jsonc +++ b/env/.config/waybar/config.jsonc @@ -6,6 +6,7 @@ "modules-center": ["clock"], "modules-right": [ "pulseaudio", + "idle_inhibitor", "tray", "cpu", "memory", @@ -76,4 +77,12 @@ // "format-full": "", "format-icons": ["", "", "", "", ""], }, + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "", + "deactivated": "" + }, + } +} } diff --git a/env/.config/waybar/style.css b/env/.config/waybar/style.css index 15bef35..c246bea 100644 --- a/env/.config/waybar/style.css +++ b/env/.config/waybar/style.css @@ -54,7 +54,8 @@ #cpu, #memory, #custom-lock, -#custom-power { +#custom-power, +#idle_inhibitor { background-color: @background; padding: 0.5rem 1rem; margin: 5px 0; @@ -69,12 +70,18 @@ font-weight: 900; } + #pulseaudio { color: @red; border-radius: 10px 0px 0px 10px; margin-left: 1rem; } +#idle_inhibitor { + border-radius: 0px; + margin: 0px; +} + #tray { color: @blue; border-radius: 0px 10px 10px 0px;