#!/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
	export PATH="$PATH:$HOME/.local/go/bin"
fi