From 816d8a5762ad06f7e70bf47868101b487a748e6e Mon Sep 17 00:00:00 2001 From: MaeIsBad Date: Fri, 28 Apr 2023 13:00:12 +0200 Subject: [PATCH] Let qt choose which driver to use --- users/profiles/sway/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/users/profiles/sway/default.nix b/users/profiles/sway/default.nix index c6cade7..a664e89 100644 --- a/users/profiles/sway/default.nix +++ b/users/profiles/sway/default.nix @@ -42,9 +42,9 @@ in systemdIntegration = true; extraSessionCommands = '' #export SDL_VIDEODRIVER=wayland - # needs qt5.qtwayland in systemPackages - export QT_QPA_PLATFORM=wayland - export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" + + export QT_WAYLAND_FORCE_DPI=physical + export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 # Fix for some Java AWT applications (e.g. Android Studio), # use this if they aren't displayed properly: export _JAVA_AWT_WM_NONREPARENTING=1