clean up scripts
This commit is contained in:
14
.config/polybar/scripts/dunst-snooze.sh
Normal file
14
.config/polybar/scripts/dunst-snooze.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
--toggle)
|
||||
dunstctl set-paused toggle
|
||||
;;
|
||||
*)
|
||||
if [ "$(dunstctl is-paused)" = "true" ]; then
|
||||
echo "#1"
|
||||
else
|
||||
echo "#2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user