added bash_profile zprofile and xinitrc in favor of keeping display manager-less set up
This commit is contained in:
parent
1b631940f6
commit
9bc5c6783e
3 changed files with 14 additions and 0 deletions
12
.bash_profile
Normal file
12
.bash_profile
Normal 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
1
.xinitrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
exec i3
|
||||
1
.zprofile
Normal file
1
.zprofile
Normal file
|
|
@ -0,0 +1 @@
|
|||
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
|
||||
Loading…
Add table
Add a link
Reference in a new issue