mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 00:13:55 -05:00
home/hyprland: move tablet and touch mappingss to host-specific home.nix
This commit is contained in:
parent
72e4083eb4
commit
68058f33cd
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue