diff options
| author | kj_sh604 | 2025-11-09 00:40:17 -0500 |
|---|---|---|
| committer | kj_sh604 | 2025-11-09 00:40:17 -0500 |
| commit | 2eb1f07e6031a84650e93c5292a16ca20fa22d61 (patch) | |
| tree | 2c5dedfbba4dac0292295bdbf05e4f589f2e2e96 /.local/bin/toggle-dunst-notifications | |
| parent | 77949a068755ee72d7b5eaf5570cd2cd34a8d222 (diff) | |
feat: return back to awesomeWM
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 |
