do not disturb and minor fixes

This commit is contained in:
Michał Gdula 2022-04-22 10:17:32 +01:00
parent 1a384d0cd5
commit a4a0fed7d1
7 changed files with 38 additions and 10 deletions

10
polybar/scripts/dnd.sh Normal file
View file

@ -0,0 +1,10 @@
#!/bin/sh
value=$(gsettings get org.gnome.desktop.notifications show-banners)
if [ $value == "true" ]; then
#echo "%{F#666} " # Icon toggle
echo "" # Icon only when do not distrub is on
elif [ $value == "false" ]; then
echo " "
fi