diff options
| -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; } |
