1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

sxhkd/statusbar: added scripts for dunst dnd mode

This commit is contained in:
2024-04-06 00:34:38 +02:00
parent 0dbb415546
commit 53c8e1159f
7 changed files with 51 additions and 18 deletions

View File

@@ -20,5 +20,11 @@ else
mic="^c#dfdfdf^  "
fi
if [ -f ~/.local/state/dnd_mode.lock ]; then
notifications="^c#ff0000^  "
else
notifications="^c#dfdfdf^  "
fi
vol=$(printf %3s $vol | tr ' ' ' ')
printf "^b#282828^%s%s^d^" "$mic" "$vol_info"
printf "^b#282828^%s%s%s^d^" "$mic" "$vol_info" "$notifications"