more and fixes
This commit is contained in:
15
modules/home/wayland/apps/eww/bar/scripts/do-not-disturb
Normal file
15
modules/home/wayland/apps/eww/bar/scripts/do-not-disturb
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
case "$1" in
|
||||
status)
|
||||
dunstctl is-paused
|
||||
;;
|
||||
*)
|
||||
if dunstctl is-paused | grep -q true; then
|
||||
dunstctl set-paused false
|
||||
echo false
|
||||
else
|
||||
dunstctl set-paused true
|
||||
echo true
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user