added bash_profile zprofile and xinitrc in favor of keeping display manager-less set up

This commit is contained in:
tomit4 2022-05-06 11:21:59 -07:00
parent 1b631940f6
commit 9bc5c6783e
3 changed files with 14 additions and 0 deletions

12
.bash_profile Normal file
View file

@ -0,0 +1,12 @@
#
# ~/.bash_profile
#
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi
[[ -f ~/.bashrc ]] && . ~/.bashrc

1
.xinitrc Normal file
View file

@ -0,0 +1 @@
exec i3

1
.zprofile Normal file
View file

@ -0,0 +1 @@
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx