hypr/.config/hypr/scripts/dnd.sh (view raw)
1 2 3 4 5 6 7 8 9 10
#!/bin/bash if [ "$(makoctl mode)" == "do-not-disturb" ]; then notify-send "DND OFF" makoctl mode -r do-not-disturb && echo "Do Not Disturb Mode OFF" else notify-send "DND OFF" makoctl mode -s do-not-disturb && echo "Do Not Disturb Mode ON" fi