home/hyprland: move tablet and touch mappingss to host-specific home.nix

This commit is contained in:
Aly Raffauf 2024-07-14 20:22:06 -04:00
parent 72e4083eb4
commit 68058f33cd
2 changed files with 9 additions and 6 deletions

View file

@ -211,12 +211,6 @@ in {
kb_variant = altgr-intl kb_variant = altgr-intl
follow_mouse = 1 follow_mouse = 1
sensitivity = 0 # -1.0 to 1.0, 0 means no modification. sensitivity = 0 # -1.0 to 1.0, 0 means no modification.
tablet {
output = eDP-1
}
touchdevice {
output = eDP-1
}
touchpad { touchpad {
clickfinger_behavior = true clickfinger_behavior = true
drag_lock = true drag_lock = true

View file

@ -8,6 +8,15 @@
home-manager.sharedModules = [ home-manager.sharedModules = [
{ {
wayland.windowManager.hyprland.extraConfig = '' wayland.windowManager.hyprland.extraConfig = ''
input {
tablet {
output = eDP-1
}
touchdevice {
output = eDP-1
}
}
# Extra bindings for petalburg. # Extra bindings for petalburg.
bind = , xf86launch4, exec, ${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default} bind = , xf86launch4, exec, ${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}
bind = , xf86launch2, exec, ${lib.getExe pkgs.playerctl} play-pause bind = , xf86launch2, exec, ${lib.getExe pkgs.playerctl} play-pause