home/.xsessionrc

18 lines
457 B
Plaintext
Raw Normal View History

2019-06-21 22:58:56 -05:00
#!/bin/sh
2019-06-29 05:45:37 -05:00
export XSESSION_HAS_SOURCED=1
2019-06-21 22:58:56 -05:00
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
2019-06-29 05:45:37 -05:00
if command -v qt5ct > /dev/null 2>&1; then
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_AUTO_SCREEN_SCALE_FACTOR=0
fi
2019-06-21 22:58:56 -05:00
export PATH="$PATH:$HOME/.bin:$HOME/.local/bin"
if command -v go > /dev/null 2>&1; then
export PATH="$PATH:$HOME/.local/go/bin"
fi