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