profile: add environment variables, switch to swaywm

This commit is contained in:
dalahast 2020-05-27 21:15:55 +02:00
parent b5b5c9b056
commit 6cea9ad7db

@ -7,10 +7,14 @@ export TERMINAL="gnome-terminal"
export BROWSER="brave"
export READER="xreader"
export QT_QPA_PLATFORMTHEME="qt5ct"
export _JAVA_AWT_WM_NONREPARENTING=1
# ~/ Clean-up:
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
# Start graphical server on tty1 if not already running.
[ "$(tty)" = "/dev/tty1" ] && ! ps -e | grep -qw Xorg && exec startx
[ "$(tty)" = "/dev/tty1" ] && ! ps -e | grep -qw Xorg && exec sway