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
Raw Normal View History

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