From 2bc0bcd51d222aa3d72626dc6b0a4ac13d0d9314 Mon Sep 17 00:00:00 2001 From: fleaz Date: Fri, 1 Dec 2023 16:57:17 +0100 Subject: [PATCH] home/sway: enable tap to click on touchpads and switch wallpaper --- home-manager/modules/sway.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home-manager/modules/sway.nix b/home-manager/modules/sway.nix index 43ed911..35b1083 100644 --- a/home-manager/modules/sway.nix +++ b/home-manager/modules/sway.nix @@ -14,14 +14,14 @@ in input = { "type:keyboard" = { xkb_layout = "eu"; }; "type:mouse" = { pointer_accel = "-1"; }; + "type:touchpad" = { tap = "enabled"; }; "1:1:AT_Translated_Set_2_keyboard" = { - # Remap borken ctrl key on internal keyboard + # Remap borken ctrl key on internal keyboard for XPS xkb_options = "caps:ctrl_modifier"; }; }; output = { - "eDP-1".bg = "/home/fleaz/Nextcloud/wallpaper/NixOS-trans-wallpaper.png fill"; - "*".bg = "/home/fleaz/Nextcloud/wallpaper/spongebob.jpg fill"; + "*".bg = "/etc/nixos/wallpaper.jpg fill"; } // lib.optionalAttrs (nixosConfig.networking.hostName == "cray") { "HDMI-A-1" = { mode = "3840x2160";