From 302922eee6808b0417309dc385633cd1ed2fbec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Wed, 13 Mar 2024 11:33:43 +0100 Subject: [PATCH] 207 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 * --- modules/home-manager/sway.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/home-manager/sway.nix b/modules/home-manager/sway.nix index 51fedb5..acb5e50 100644 --- a/modules/home-manager/sway.nix +++ b/modules/home-manager/sway.nix @@ -26,9 +26,9 @@ text = '' #!${pkgs.bash}/bin/bash if [ "$(gsettings get ${schema} ${key})" == "true" ]; then - echo '{ "text": "󰌐", "tooltip": "disabled", "percentage": 0 }' - else echo '{ "text": "󰌌", "tooltip": "enabled", "percentage": 100 }' + else + echo '{ "text": "󰌐", "tooltip": "disabled", "percentage": 0 }' fi ''; }; @@ -301,7 +301,7 @@ in { exec = "${squeekboard_format}/bin/squeekboard_format"; return-type = "json"; exec-on-event = true; - interval = "once"; + interval = 2; on-click = "${squeekboard_toggle}/bin/squeekboard_toggle"; };