From 45bb18a48b0e94d671a9352ad975d0f653d7ea96 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 14 Apr 2024 10:03:18 -0400 Subject: [PATCH] sway: fixed swayidle/swaylock and added touchpad gestures --- homeManagerModules/desktopEnv/sway/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/desktopEnv/sway/default.nix b/homeManagerModules/desktopEnv/sway/default.nix index 78f12d06..09a2755e 100644 --- a/homeManagerModules/desktopEnv/sway/default.nix +++ b/homeManagerModules/desktopEnv/sway/default.nix @@ -88,7 +88,7 @@ {command = "nm-applet";} {command = "swayosd-server";} {command = "thunar --daemon";} - {command = "${pkgs.swayidle} -w timeout 300 '${pkgs.swaylock}' before-sleep '${pkgs.swaylock}'";} + {command = "${pkgs.swayidle}/bin/swayidle -w timeout 300 '${pkgs.swaylock}/bin/swaylock' before-sleep '${pkgs.swaylock}/bin/swaylock'";} ]; output = { "BOE 0x095F Unknown" = { @@ -107,6 +107,11 @@ }; }; + wayland.windowManager.sway.extraConfig = '' + bindgesture swipe:right workspace prev + bindgesture swipe:left workspace next + ''; + xdg.configFile."xfce4/helpers.rc".text = '' TerminalEmulator=alacritty FileManager=thunar