206 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 *

This commit is contained in:
Max Känner 2024-03-13 11:32:44 +01:00
parent b2c59b3419
commit 58da3a96ae

View File

@ -26,9 +26,9 @@
text = '' text = ''
#!${pkgs.bash}/bin/bash #!${pkgs.bash}/bin/bash
if [ "$(gsettings get ${schema} ${key})" == "true" ]; then if [ "$(gsettings get ${schema} ${key})" == "true" ]; then
echo '{ "text": "󰌌", "tooltip": "enabled", "percentage": 100 }'
else
echo '{ "text": "󰌐", "tooltip": "disabled", "percentage": 0 }' echo '{ "text": "󰌐", "tooltip": "disabled", "percentage": 0 }'
else
echo '{ "text": "󰌌", "tooltip": "enabled", "percentage": 100 }'
fi fi
''; '';
}; };