From f5e03894e96a9c652c39314a2575f52f9c47aac2 Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Sun, 9 Nov 2025 18:53:25 -0500 Subject: revert-to: a6675719f73a332f92c30ff5c4948cda26c0e6e3 --- .local/bin/toggle-dunst-notifications | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .local/bin/toggle-dunst-notifications (limited to '.local/bin/toggle-dunst-notifications') 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 -- cgit v1.2.3