diff options
author | xyz <gky44px1999@gmail.com> | 2021-04-11 02:43:48 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-04-11 02:43:48 -0700 |
commit | 0795297c929cf80408a74c1889ace7d412d055fd (patch) | |
tree | 5babbc0cd9e4b26b01870efb704b626005864f1d /.bashrc | |
parent | 479f2fc253ffb7fcf43aa2edb9022e316723d245 (diff) |
debug startx, set dwm status bar
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -8,10 +8,6 @@ alias ls='ls -lah --color=auto' PS1='[\u@\h \W]\$ ' -if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then - exec startx -fi - alias cfgc='/usr/bin/git --git-dir=$HOME/.mycfg_cross_platform/ --work-tree=$HOME' alias cfgl='/usr/bin/git --git-dir=$HOME/.mycfg_local/ --work-tree=$HOME' @@ -22,3 +18,8 @@ export XDG_DATA_HOME="$HOME/.local/share" export SSH_AUTH_SOCK="XDG_RUNTIME_DIR/ssh-agent.socket" export MANPAGER='nvim +Man!' + +# startx when login, should be put after environmental variables so .xinitrc can use $XDG_CONFIG_HOME +if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then + exec startx +fi |