diff --git a/home-manager/home.nix b/home-manager/home.nix index 9da57b3..53cee9e 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -21,6 +21,10 @@ home.sessionVariables = { EDITOR = "nano"; DEFAULT_BROWSER = "${lib.getExe pkgs.firefox}"; + # Allow XWayland apps to not be weird after turning off xwayland scaling in hyprland.conf + GDK_SCALE = 1; + XCURSOR_SIZE = 32; + }; # Let Home Manager install and manage itself. diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index 0bc470c..27ec7b5 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -24,8 +24,6 @@ xwayland { force_zero_scaling = true } - env = GDK_SCALE,1 - env = XCURSOR_SIZE,32 ''; }; # Hyprland configuration