add do-not-disturb

This commit is contained in:
Vivian 2022-09-24 13:57:01 +02:00
parent 771a693fe9
commit 70e557af91
10 changed files with 119 additions and 73 deletions

View file

@ -0,0 +1,10 @@
#!/usr/bin/env nix-shell
#! nix-shell -p jq -i bash
if makoctl mode | grep -Fxq "do-not-disturb"; then
eww update dnd=""
makoctl mode -r do-not-disturb > /dev/null
else
eww update dnd=""
makoctl mode -a do-not-disturb > /dev/null
fi