add do-not-disturb
This commit is contained in:
parent
771a693fe9
commit
70e557af91
10 changed files with 119 additions and 73 deletions
10
nixos/hosts/thalassa/null/home/eww/scripts/do-not-disturb.sh
Executable file
10
nixos/hosts/thalassa/null/home/eww/scripts/do-not-disturb.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue