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

30 lines
571 B
Nix

{ config, ... }:
{
# include hyprland configs
home.file.".config/hypr/input.conf".text = ''
# 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
}
}
'';
}