diff --git a/modules/home-manager/sway.nix b/modules/home-manager/sway.nix index 94bba53..0e805ba 100644 --- a/modules/home-manager/sway.nix +++ b/modules/home-manager/sway.nix @@ -8,7 +8,7 @@ key = "screen-keyboard-enabled"; squeekboard_toggle = pkgs.writeTextFile { name = "squeekboard_toggle"; - destination = "/bin/toggle_squeekboard"; + destination = "/bin/squeekboard_toggle"; executable = true; text = '' #!${pkgs.dash}/bin/dash @@ -42,6 +42,8 @@ in { kanshi # hotswap displays foot # terminal keepassxc # used for secrets instead of gnome-keyring + squeekboard_format + squeekboard_toggle ]; wayland.windowManager.sway = { @@ -299,9 +301,9 @@ in { "custom/squeekboard" = let in { format = "{}"; - exec = "${squeekboard_format}/bin/squeekboard_format"; + exec = "/bin/squeekboard_format"; exec-on-event = true; - on-click = "${squeekboard_toggle}/bin/toggle_squeekboard"; + on-click = "/bin/squeekboard_toggle"; }; "sway/language" = {