Polybar Mic button and cleaning up code

This commit is contained in:
Michał Gdula 2022-04-26 23:20:46 +01:00
parent 3b2fca577a
commit 54b578567c
7 changed files with 44 additions and 9 deletions

View file

@ -2,8 +2,7 @@
value=$(gsettings get org.gnome.desktop.notifications show-banners)
if [ $value == "true" ]
then
if [ "$value" == "true" ]; then
gsettings set org.gnome.desktop.notifications show-banners false
else
gsettings set org.gnome.desktop.notifications show-banners true