diff options
Diffstat (limited to '.local/bin/toggle-dunst-notifications')
| -rwxr-xr-x | .local/bin/toggle-dunst-notifications | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/bin/toggle-dunst-notifications b/.local/bin/toggle-dunst-notifications new file mode 100755 index 0000000..12ad4ab --- /dev/null +++ b/.local/bin/toggle-dunst-notifications @@ -0,0 +1,9 @@ +#!/bin/sh + +current_state=$(dunstctl is-paused) + +if [ "$current_state" = "false" ]; then + dunstctl set-paused true +else + dunstctl set-paused false +fi |
