Add notification silencing indicator to waybar
This commit is contained in:
1 parent
bf962f0042
commit
fcf883e827
6 files changed
+52
-4
No files matched your search
Executable
+11
@@ -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
|
||||
Reference in new issue
Block a user