diff options
Diffstat (limited to 'zsh/.config')
| -rw-r--r-- | zsh/.config/zsh/zprofile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zsh/.config/zsh/zprofile b/zsh/.config/zsh/zprofile index 9f45164..a737d5b 100644 --- a/zsh/.config/zsh/zprofile +++ b/zsh/.config/zsh/zprofile @@ -13,3 +13,8 @@ export XDG_CACHE_HOME="$HOME/.cache" export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh" export LESSHISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/less/history" export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc" + +## StartX when first logging in. +if [[ "$(tty)" = "/dev/tty1" ]]; then + pgrep dwm || startx +fi |
