From 6ea0b486b6e7da18d9eadcb2e26f6106c856f5fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Wed, 13 Mar 2024 11:04:12 +0100 Subject: [PATCH] 198 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 0e805ba..cac6e2b 100644 --- a/modules/home-manager/sway.nix +++ b/modules/home-manager/sway.nix @@ -12,7 +12,7 @@ executable = true; text = '' #!${pkgs.dash}/bin/dash - if ["$(gsettings get ${schema} ${key})" == "'true'"]; then + if [ "$(gsettings get ${schema} ${key})" == "'true'" ]; then gsettings set ${schema} ${key} false else gsettings set ${schema} ${key} true @@ -21,11 +21,11 @@ }; squeekboard_format = pkgs.writeTextFile { name = "squeekboard_format"; - destination = "/bin/queekboard_format"; + destination = "/bin/squeekboard_format"; executable = true; text = '' #!${pkgs.dash}/bin/dash - if ["$(gsettings get ${schema} ${key})" == "'true'"]; then + if [ "$(gsettings get ${schema} ${key})" == "'true'" ]; then echo 󰌌 echo enabled else