2022-09-24 13:57:01 +02:00
|
|
|
#!/usr/bin/env nix-shell
|
|
|
|
#! nix-shell -p jq -i bash
|
|
|
|
|
2022-09-26 17:17:27 +02:00
|
|
|
if makoctl mode | rg -q "do-not-disturb"; then
|
2022-09-24 13:57:01 +02:00
|
|
|
eww update dnd=""
|
|
|
|
makoctl mode -r do-not-disturb > /dev/null
|
|
|
|
else
|
|
|
|
eww update dnd=""
|
|
|
|
makoctl mode -a do-not-disturb > /dev/null
|
|
|
|
fi
|