This repository has been archived on 2024-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-nix/nix/home/hyprland/hyprland-input.nix

29 lines
595 B
Nix

{ config, ... }:
{
# hyprland general config
wayland.windowManager.hyprland.settings = {
# gesture secion
gestures = {
workspace_swipe = true;
workspace_swipe_min_speed_to_force = "80";
workspace_swipe_cancel_ratio = "0.2";
};
# input section
input = {
kb_layout = "us";
follow_mouse = "1";
sensitivity = "0";
touchpad = {
disable_while_typing = true;
drag_lock = true;
natural_scroll = true;
tap-and-drag = true;
};
};
};
}