2020-04-27 15:14:37 +02:00
|
|
|
# Adds `~/.local/bin` to $PATH
|
|
|
|
export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
|
|
|
|
|
|
|
|
# Default programs:
|
|
|
|
export EDITOR="nvim"
|
|
|
|
export TERMINAL="gnome-terminal"
|
|
|
|
export BROWSER="brave"
|
|
|
|
export READER="xreader"
|
|
|
|
|
2020-05-27 21:15:55 +02:00
|
|
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
|
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
|
|
|
|
|
|
|
2020-04-27 15:14:37 +02:00
|
|
|
# ~/ 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.
|
2020-05-27 21:15:55 +02:00
|
|
|
[ "$(tty)" = "/dev/tty1" ] && ! ps -e | grep -qw Xorg && exec sway
|