conf2/zsh/.zprofile
2018-11-12 18:26:58 +01:00

13 lines
385 B
Bash

if [ -d "$HOME/.local/bin" ]; then
export PATH="$HOME/.local/bin:$PATH"
fi
if [ -f "/bin/Xorg" ]; then
[[ $(tty) == '/dev/tty1' ]] && startx ~/.xinitrc awesome
[[ $(tty) == '/dev/tty3' ]] && startx ~/.xinitrc i3
fi
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && [[ -z $XDG_SESSION_TYPE ]]; then
XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
fi