From eedc6bc6aeeaa8ed078c214a671b85daf1b2cf6a Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 29 Jun 2019 05:45:37 -0500 Subject: [PATCH] .xsessionrc: Integrate qt5ct --- .xsessionrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.xsessionrc b/.xsessionrc index bc1dd116..d1146f3e 100755 --- a/.xsessionrc +++ b/.xsessionrc @@ -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