Add notification silencing indicator to waybar

This commit is contained in:
David Heinemeier Hansson committed 2026-02-20 16:52:09 +01:00
1 parent bf962f0042
commit fcf883e827
6 files changed
+52 -4

No files matched your search

+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