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