feat: add some laptop configuration for hyprland

This commit is contained in:
Youwen Wu 2024-08-07 08:17:21 -07:00
parent 3dbc049b64
commit 4a840c8fae
2 changed files with 18 additions and 2 deletions

View file

@ -1 +1,18 @@
{ imports = [ ../common.nix ./laptop-only.nix ]; } { lib, ... }:
{
imports = [ ../common.nix ];
wayland.windowManager.hyprland.settings.input.touchpad = {
natural_scroll = true;
disable_while_typing = true;
clickfinger_behavior = true;
tap-to-click = false;
scroll_factor = 0.5;
};
wayland.windowManager.hyprland.settings.general.sensitivity = lib.mkForce 1.0;
wayland.windowManager.hyprland.settings.env = [
"HYPRCURSOR_THEME,Bibata-Modern-Ice"
"HYPRCURSOR_SIZE,24"
"XCURSOR_THEME,Bibata-Modern-Ice"
"XCURSOR_SIZE,24"
];
}