diff options
| author | 2026-05-13 13:43:19 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:19 +0100 | |
| commit | ea448973b2cb570d27c03483f64474be57e6ddb3 (patch) | |
| tree | 613eef5f3dbbdfd44da5bb23b6537239e638f872 /dot_config/waybar | |
| parent | 2f126ccb071f6d566824ce80c8b0cffd00a88c86 (diff) | |
| download | dotfiles-ea448973b2cb570d27c03483f64474be57e6ddb3.tar.gz dotfiles-ea448973b2cb570d27c03483f64474be57e6ddb3.tar.bz2 dotfiles-ea448973b2cb570d27c03483f64474be57e6ddb3.zip | |
style(waybar): label and color idle/privacy/notifications modules
The idle_inhibitor em-dash and bare mako '0' blended with the clock.
- mako counter: prefix 'NTF', gray when empty, aqua for history, orange
for pending.
- idle_inhibitor: 'IDL'/'INH' with gray/yellow.
- privacy: red (only visible when screensharing or mic-active).
- Add padding rules so the new modules line up with the rest.
Diffstat (limited to 'dot_config/waybar')
| -rw-r--r-- | dot_config/waybar/config.jsonc | 2 | ||||
| -rw-r--r-- | dot_config/waybar/executable_mako-status.sh | 6 | ||||
| -rw-r--r-- | dot_config/waybar/style.css | 29 |
3 files changed, 32 insertions, 5 deletions
diff --git a/dot_config/waybar/config.jsonc b/dot_config/waybar/config.jsonc index 46413ac..e933b50 100644 --- a/dot_config/waybar/config.jsonc +++ b/dot_config/waybar/config.jsonc @@ -139,7 +139,7 @@ "format": "{icon}", "format-icons": { "activated": "INH", - "deactivated": "—", + "deactivated": "IDL", }, "tooltip": true, }, diff --git a/dot_config/waybar/executable_mako-status.sh b/dot_config/waybar/executable_mako-status.sh index ed89661..3c50172 100644 --- a/dot_config/waybar/executable_mako-status.sh +++ b/dot_config/waybar/executable_mako-status.sh @@ -14,13 +14,13 @@ pending=$(makoctl list 2>/dev/null | grep -c '"summary"' || true) if [ "$pending" -gt 0 ]; then - text="!$pending" + text="NTF !$pending" class="pending" elif [ "$count" -gt 0 ]; then - text="$count" + text="NTF $count" class="history" else - text="0" + text="NTF 0" class="empty" fi diff --git a/dot_config/waybar/style.css b/dot_config/waybar/style.css index 59a41ff..f631736 100644 --- a/dot_config/waybar/style.css +++ b/dot_config/waybar/style.css @@ -43,8 +43,11 @@ window#waybar { #pulseaudio, #tray, #window, +#idle_inhibitor, +#privacy, #custom-memory, -#custom-wifi { +#custom-wifi, +#custom-notifications { padding: 0 6px; } @@ -88,6 +91,30 @@ window#waybar { color: #ebdbb2; /* fg */ } +#idle_inhibitor { + color: #928374; /* gray when idle allowed */ +} + +#idle_inhibitor.activated { + color: #fabd2f; /* yellow when inhibited */ +} + +#privacy { + color: #fb4934; /* red — only visible when active */ +} + +#custom-notifications { + color: #928374; /* gray baseline */ +} + +#custom-notifications.history { + color: #8ec07c; /* aqua — seen, not dismissed */ +} + +#custom-notifications.pending { + color: #fe8019; /* orange — unread */ +} + #battery.warning { color: #fabd2f; } |
