From cca87f0771ef913b1867e11919d80d7a624d1344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Wed, 13 Mar 2024 11:01:27 +0100 Subject: [PATCH] 197 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 * --- modules/home-manager/sway.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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" = {