From 68058f33cd71b18360bf65e0c0316bf8e352553b Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 14 Jul 2024 20:22:06 -0400 Subject: [PATCH] home/hyprland: move tablet and touch mappingss to host-specific home.nix --- homeManagerModules/desktop/hyprland/default.nix | 6 ------ hosts/petalburg/home.nix | 9 +++++++++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/homeManagerModules/desktop/hyprland/default.nix b/homeManagerModules/desktop/hyprland/default.nix index d108fda3..557e5823 100644 --- a/homeManagerModules/desktop/hyprland/default.nix +++ b/homeManagerModules/desktop/hyprland/default.nix @@ -211,12 +211,6 @@ in { kb_variant = altgr-intl follow_mouse = 1 sensitivity = 0 # -1.0 to 1.0, 0 means no modification. - tablet { - output = eDP-1 - } - touchdevice { - output = eDP-1 - } touchpad { clickfinger_behavior = true drag_lock = true diff --git a/hosts/petalburg/home.nix b/hosts/petalburg/home.nix index 92114a4a..2a035589 100644 --- a/hosts/petalburg/home.nix +++ b/hosts/petalburg/home.nix @@ -8,6 +8,15 @@ home-manager.sharedModules = [ { wayland.windowManager.hyprland.extraConfig = '' + input { + tablet { + output = eDP-1 + } + touchdevice { + output = eDP-1 + } + } + # Extra bindings for petalburg. bind = , xf86launch4, exec, ${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default} bind = , xf86launch2, exec, ${lib.getExe pkgs.playerctl} play-pause