From 9bc5c6783ef17fb5fdad3385ffb255c48b1ed93b Mon Sep 17 00:00:00 2001 From: tomit4 Date: Fri, 6 May 2022 11:21:59 -0700 Subject: [PATCH] added bash_profile zprofile and xinitrc in favor of keeping display manager-less set up --- .bash_profile | 12 ++++++++++++ .xinitrc | 1 + .zprofile | 1 + 3 files changed, 14 insertions(+) create mode 100644 .bash_profile create mode 100644 .xinitrc create mode 100644 .zprofile diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 00000000..b5b2d5a6 --- /dev/null +++ b/.bash_profile @@ -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 diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 00000000..ba0c6ef9 --- /dev/null +++ b/.xinitrc @@ -0,0 +1 @@ +exec i3 diff --git a/.zprofile b/.zprofile new file mode 100644 index 00000000..70b70593 --- /dev/null +++ b/.zprofile @@ -0,0 +1 @@ +[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx