hyprland: add QoL variables and magicman touchpad/gestures
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m45s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 11:39:16 +01:00
parent 1c31ce1236
commit f86f6410b2
2 changed files with 16 additions and 1 deletions

View File

@@ -41,6 +41,14 @@
tmux.enable = true;
hyprland.enable = true;
hyprland.monitors = [ "eDP-1,1920x1080@60,0x0,1" ];
wayland.windowManager.hyprland.settings = {
input.touchpad = {
natural_scroll = false;
};
gestures = {
workspace_swipe = true;
};
};
hyprland.extraKeybinds = [
# Workspace keybinds
"$mainMod,1,workspace,1"

View File

@@ -182,7 +182,10 @@ in
name = "wacom-one-by-wacom-m-pen";
};
cursor = optionalAttrs cfg.cursorNoHardware {
cursor = {
hide_on_key_press = true;
}
// optionalAttrs cfg.cursorNoHardware {
no_hardware_cursors = true;
};
@@ -203,6 +206,7 @@ in
gaps_out = 10;
border_size = 2;
layout = "dwindle";
resize_on_border = true;
};
animations = {
@@ -232,6 +236,9 @@ in
misc = {
force_default_wallpaper = 0;
disable_hyprland_logo = true;
disable_splash_rendering = true;
key_press_enables_dpms = true;
mouse_move_enables_dpms = true;
};
ecosystem = {