From c2acdf9cca1de631c7d1c60d7cfba2a7ab816e59 Mon Sep 17 00:00:00 2001 From: "eric.marin" Date: Wed, 12 Nov 2025 10:27:37 +0100 Subject: updated waybar it's a bit wonky but now all modules have a constant width --- waybar/config | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) (limited to 'waybar/config') diff --git a/waybar/config b/waybar/config index a4b1dfc..675e08d 100644 --- a/waybar/config +++ b/waybar/config @@ -26,8 +26,19 @@ "on-click": "foot -T nmtui -o pad=0x0 nmtui" }, "pulseaudio": { - "format": "{icon} {volume}%", - "format-muted": "󰝟 {volume}%", + "states": { + "notempty": 9, + "notfull": 99, + }, + "format": "{icon}{volume}%", + "format-notfull": "{icon} {volume}%", + "format-notempty": "{icon} {volume}%", + "format-muted": "󰝟{volume}%", + "format-muted-notfull": "󰝟 {volume}%", + "format-muted-notempty": "󰝟 {volume}%", + "format-bluetooth": "{icon}{volume}%", + "format-bluetooth-notfull": "{icon} {volume}%", + "format-bluetooth-notempty": "{icon} {volume}%", "format-icons": { "default": ["󰕿", "󰖀", "󰕾"], }, @@ -44,7 +55,13 @@ }, "backlight": { "device": "intel_backlight", - "format": "{icon} {percent}%", + "states": { + "notempty": 10, + "notfull": 100, + }, + "format": "{icon} {percent}%", + "format-notfull": "{icon}{percent}%", + "format-notempty": "{icon} {percent}%", "format-icons": ["", "", "", "", "", "", "", "", ""], "tooltip": false }, @@ -77,21 +94,30 @@ "tooltip-format": "{used:0.1f}GiB / {total:0.1f}GiB" }, "disk": { - "format": "󰋊 {percentage_used}%", + "states": { + "notempty": 10, + "notfull": 100, + }, + "format": "󰋊 {percentage_used}%", + "format-notfull": "󰋊{percentage_used}%", + "format-notempty": "󰋊 {percentage_used}%", "tooltip-format": "{used} / {total}" }, "battery": { "interval": 5, "states": { + "notempty": 9, "warning": 25, "notfull": 99, }, "format": "{icon}{capacity}%", "format-notfull": "{icon} {capacity}%", "format-warning": "{icon} {capacity}%", + "format-notempty": "{icon} {capacity}%", "format-charging": "󰂄{capacity}%", "format-charging-notfull": "󰂄 {capacity}%", "format-charging-warning": "󰂄 {capacity}%", + "format-charging-notempty": "󰂄 {capacity}%", "format-icons": ["󰂎","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"], }, "clock": { -- cgit v1.2.3