sway: do not set wayland session env variables

This commit is contained in:
Kevin Baensch 2025-07-02 15:35:21 +02:00
parent f5c1e67fc6
commit 6333da56b2
Signed by: derped
SSH key fingerprint: SHA256:8/FSu/lmp3c1Z17Gml06JRIEHtDjhwdd7g6pBaHQWBc

View file

@ -34,16 +34,6 @@ mkIf (elem "desktop::sway" config.machine.services) {
gtk = true; gtk = true;
}; };
extraSessionCommands = '' extraSessionCommands = ''
export GDK_BACKEND=wayland
export CLUTTER_BACKEND=wayland
export SDL_VIDEODRIVER=wayland
# needs qt5.qtwayland in systemPackages
export QT_QPA_PLATFORM=wayland-egl
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
# Chromium (based) applications # Chromium (based) applications
export NIXOS_OZONE_WL=1 export NIXOS_OZONE_WL=1
''; '';