From c938e662f6da289bfcd583dcdcc4e44929ef64f1 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Tue, 10 Oct 2023 14:07:26 +0200 Subject: [PATCH] move export QT_QPA_PLATFORMTHEME=qt6ct --- .chezmoitemplates/zprofile_linux.tmpl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.chezmoitemplates/zprofile_linux.tmpl b/.chezmoitemplates/zprofile_linux.tmpl index 9155c4b..765e7e5 100644 --- a/.chezmoitemplates/zprofile_linux.tmpl +++ b/.chezmoitemplates/zprofile_linux.tmpl @@ -22,11 +22,6 @@ if [[ -z $DISPLAY && $(tty) == /dev/tty1 && $XDG_SESSION_TYPE == tty ]]; then echo "set systemconfiguration" sudo scripts/set-systemsettings.sh - # Set global environments - echo "set global environments" - - export QT_QPA_PLATFORMTHEME=qt6ct - # First make sure dbus is started if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then export DBUS_SESSION_BUS_ADDRESS="$(dbus-daemon --session --fork --print-address)" @@ -70,6 +65,10 @@ if [[ -z $DISPLAY && $(tty) == /dev/tty1 && $XDG_SESSION_TYPE == tty ]]; then else __dotfiles_wayland_teardown + # Set global environments + echo "set global environments" + + export QT_QPA_PLATFORMTHEME=qt6ct export QT_QPA_PLATFORM=wayland export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" export GDK_BACKEND=wayland