.xsessionrc: Integrate qt5ct

This commit is contained in:
Salt 2019-06-29 05:45:37 -05:00
parent 527dbaddc4
commit eedc6bc6ae

View File

@ -1,10 +1,15 @@
#!/bin/sh
export XSESSION_HAS_SOURCED=1
for term in mate-terminal lxterminal xfce4-terminal konsole urxvt xterm; do
if command -v "$term" > /dev/null 2>&1; then
export TERMINAL="$term"
break
fi
done
if command -v qt5ct > /dev/null 2>&1; then
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_AUTO_SCREEN_SCALE_FACTOR=0
fi
export PATH="$PATH:$HOME/.bin:$HOME/.local/bin"
if command -v go > /dev/null 2>&1; then