2018-06-13 19:38:45 +00:00
|
|
|
if [ -d "$HOME/.local/bin" ]; then
|
|
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -f "/bin/Xorg" ]; then
|
2018-09-30 18:48:29 +00:00
|
|
|
[[ $(tty) == '/dev/tty1' ]] && startx ~/.xinitrc i3
|
|
|
|
[[ $(tty) == '/dev/tty3' ]] && startx ~/.xinitrc awesome
|
2018-06-13 19:38:45 +00:00
|
|
|
fi
|
|
|
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && [[ -z $XDG_SESSION_TYPE ]]; then
|
|
|
|
XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
|
|
|
|
fi
|
|
|
|
|