Add notification silencing indicator to waybar

This commit is contained in:
David Heinemeier Hansson
2026-02-20 16:52:09 +01:00
parent bf962f0042
commit fcf883e827
6 changed files with 52 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
if makoctl mode | grep -q 'do-not-disturb'; then
echo '{"text": "󰂛", "tooltip": "Notifications silenced", "class": "active"}'
else
echo '{"text": ""}'
fi