From 56f3c3c5e93b6b89070bfc7f71f2444303769735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Sun, 29 Jun 2025 14:25:08 +0200 Subject: [PATCH] update hyprland display stuff --- modules/home-manager/desktops/hyprland/default.nix | 3 +++ modules/nixos/hardware/fv43u.nix | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/home-manager/desktops/hyprland/default.nix b/modules/home-manager/desktops/hyprland/default.nix index 18fb7a2..fd47d1d 100644 --- a/modules/home-manager/desktops/hyprland/default.nix +++ b/modules/home-manager/desktops/hyprland/default.nix @@ -19,6 +19,7 @@ in wayland.windowManager.hyprland = { enable = true; settings = { + general.allow_tearing = true; input = { accel_profile = "flat"; kb_layout = osConfig.services.xserver.xkb.layout; @@ -48,6 +49,7 @@ in "SUPER,mouse_up,workspace,r+1" "SUPER,mouse_down,workspace,r-1" ]; + monitor = lib.mkAfter [ ",highrr,auto,1" ]; bindm = [ "SUPER,mouse:272,movewindow" "SUPER,mouse:273,resizewindow" @@ -56,6 +58,7 @@ in layers_hog_keyboard_focus = false; disable_hyprland_logo = true; disable_splash_rendering = true; + vrr = lib.mkDefault 2; }; input.touchpad.natural_scroll = true; gestures.workspace_swipe = true; diff --git a/modules/nixos/hardware/fv43u.nix b/modules/nixos/hardware/fv43u.nix index 50ad75e..15b5b32 100644 --- a/modules/nixos/hardware/fv43u.nix +++ b/modules/nixos/hardware/fv43u.nix @@ -49,10 +49,7 @@ in DXVK_HDR = "1"; }; wayland.windowManager.hyprland.settings = { - general = { - layout = "master"; - allow_tearing = true; - }; + general.layout = "master"; master = { orientation = "center"; slave_count_for_center_master = 0;