move export QT_QPA_PLATFORMTHEME=qt6ct

This commit is contained in:
Simon Rieger 2023-10-10 14:07:26 +02:00
parent 721391371f
commit c938e662f6

View file

@ -22,11 +22,6 @@ if [[ -z $DISPLAY && $(tty) == /dev/tty1 && $XDG_SESSION_TYPE == tty ]]; then
echo "set systemconfiguration" echo "set systemconfiguration"
sudo scripts/set-systemsettings.sh sudo scripts/set-systemsettings.sh
# Set global environments
echo "set global environments"
export QT_QPA_PLATFORMTHEME=qt6ct
# First make sure dbus is started # First make sure dbus is started
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
export DBUS_SESSION_BUS_ADDRESS="$(dbus-daemon --session --fork --print-address)" 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 else
__dotfiles_wayland_teardown __dotfiles_wayland_teardown
# Set global environments
echo "set global environments"
export QT_QPA_PLATFORMTHEME=qt6ct
export QT_QPA_PLATFORM=wayland export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export GDK_BACKEND=wayland export GDK_BACKEND=wayland