207 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:33:43 +01:00
parent 58da3a96ae
commit 302922eee6

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": "disabled", "percentage": 0 }'
else
echo '{ "text": "󰌌", "tooltip": "enabled", "percentage": 100 }' echo '{ "text": "󰌌", "tooltip": "enabled", "percentage": 100 }'
else
echo '{ "text": "󰌐", "tooltip": "disabled", "percentage": 0 }'
fi fi
''; '';
}; };
@ -301,7 +301,7 @@ in {
exec = "${squeekboard_format}/bin/squeekboard_format"; exec = "${squeekboard_format}/bin/squeekboard_format";
return-type = "json"; return-type = "json";
exec-on-event = true; exec-on-event = true;
interval = "once"; interval = 2;
on-click = "${squeekboard_toggle}/bin/squeekboard_toggle"; on-click = "${squeekboard_toggle}/bin/squeekboard_toggle";
}; };