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
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
makoctl mode -t do-not-disturb
if makoctl mode | grep -q 'do-not-disturb'; then
notify-send "Silenced notifications"
else
notify-send "Enabled notifications"
fi
pkill -RTMIN+10 waybar