mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 19:27:17 +00:00
Configures Hyprland gestures on trackpad
This commit is contained in:
parent
ad80b6a97b
commit
ff11528808
2 changed files with 22 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
layout = globals.keyboard.layout;
|
||||
xkbVariant = globals.keyboard.variant;
|
||||
|
||||
synaptics.enable = false;
|
||||
|
||||
libinput = {
|
||||
enable = true;
|
||||
touchpad.tapping = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue