diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2021-01-30 14:00:21 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2021-01-30 14:00:21 +0000 |
| commit | 05a28791beb8f3b954b152f939fb0d3b9106195c (patch) | |
| tree | 0208619a7a4d42f3d1981361aa00fb1528599c22 | |
| parent | e6ef6d38e22aafe70093fdf90106bf8b4fb9fb85 (diff) | |
Startx when first logging in
| -rw-r--r-- | .config/zsh/zprofile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/zsh/zprofile b/.config/zsh/zprofile index 7b30ade..79575ee 100644 --- a/.config/zsh/zprofile +++ b/.config/zsh/zprofile @@ -18,3 +18,8 @@ export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/password-store" export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch/notmuchrc" ### Below allows pass to prompt for GPG passphrase export GPG_TTY=$(tty) + +## StartX when first logging in. +if [[ "$(tty)" = "/dev/tty1" ]]; then + pgrep dwm || startx +fi |
