From: Andrew Lorimer Date: Wed, 8 Aug 2018 08:09:46 +0000 (+1000) Subject: add .zprofile to start x.org X-Git-Url: https://git.lorimer.id.au/dotfiles.git/diff_plain/5968f55943218e80163690a5ad2cbb8fa69c02c0?hp=713c36ec36a2f8454c4b6f69aaf916abeff50ae6 add .zprofile to start x.org --- diff --git a/zsh/.zprofile b/zsh/.zprofile new file mode 100644 index 0000000..87fee1f --- /dev/null +++ b/zsh/.zprofile @@ -0,0 +1,9 @@ +# +# ~/.bash_profile +# + +[[ -f ~/.bashrc ]] && . ~/.bashrc + +if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec startx +fi