summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2023-12-30 11:47:56 +0000
committerDavid T. Sadler <davidtsadler@googlemail.com>2023-12-30 11:47:56 +0000
commit5d631bd3ad7f78e8ca69d7001cada582fcd8d18f (patch)
tree0e1e87fc8c75eea323b31fe8b67e76241210d3b2 /zsh
parent82cd5a7b072b4060c6f6ce519a904772dd5f2a0d (diff)
Add several packagesHEADmain
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.config/zsh/zprofile5
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