From cb164afe1288193168498d97e6c51380ed56fb15 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 28 Apr 2025 00:18:24 +0800 Subject: [PATCH] feat(hyprland): fix fractional scaling for steam --- configs/programs/hyprland.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/programs/hyprland.nix b/configs/programs/hyprland.nix index 45d2b0d..6892349 100644 --- a/configs/programs/hyprland.nix +++ b/configs/programs/hyprland.nix @@ -62,6 +62,13 @@ ", preferred, auto, 1" ]; + xwayland.force_zero_scaling = true; + + env = [ + "GDK_SCALE,2" + "XCURSOR_SIZE,32" + ]; + # Switching to the current workspace will switch to the previous binds.workspace_back_and_forth = true; cursor.default_monitor = "$mainMonitor";