2024-01-28 16:37:10 -06:00

15 lines
229 B
Bash

#!/bin/sh
case "$1" in
--toggle)
dunstctl set-paused toggle
;;
*)
if [ "$(dunstctl is-paused)" = "true" ]; then
echo "#1"
else
echo "#2"
fi
;;
esac