Configures Hyprland gestures on trackpad

This commit is contained in:
willemml 2023-11-14 20:26:23 -08:00
parent ad80b6a97b
commit ff11528808
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
2 changed files with 22 additions and 0 deletions

View file

@ -19,6 +19,26 @@
services.mako.enable = true;
wayland.windowManager.hyprland = {
settings = {
input = {
sensitivity = 0.4;
accel_profile = "adaptive";
touchpad = {
natural_scroll = true;
scroll_factor = 0.45;
tap-and-drag = true;
};
};
gestures = {
workspace_swipe = true;
workspace_swipe_fingers = 3;
workspace_swipe_cancel_ratio = 0.5;
workspace_swipe_distance = 2000;
workspace_swipe_invert = true;
};
};
enable = true;
};

View file

@ -22,6 +22,8 @@
layout = globals.keyboard.layout;
xkbVariant = globals.keyboard.variant;
synaptics.enable = false;
libinput = {
enable = true;
touchpad.tapping = true;