This commit is contained in:
natemaia
2018-06-12 00:09:45 -07:00
parent cbc8fcebb3
commit bc83789790
4 changed files with 781 additions and 0 deletions

View File

@ -1,5 +1,17 @@
# .zprofile
# sourced by zsh when used as a login shell
# Uncomment the below example for multiple sessions
#
# using Ctrl-Alt-F2 will switch you to tty2, and i3 will be started
# using Ctrl-Alt-F1 will switch back to tty1 and openbox
#
# if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then
# exec startx ~/.xinitrc openbox
# elif [[ -z $DISPLAY && $XDG_VTNR -eq 2 ]]; then
# exec startx ~/.xinitrc i3
# fi
# automatically run startx when logging in on tty1
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx -- vt1 &>/dev/null