aboutsummaryrefslogtreecommitdiff
path: root/.zprofile
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-10-21 23:41:23 +0800
committerGuangxiong Lin <[email protected]>2021-10-21 23:41:23 +0800
commit5cfa6cd75121cde38be64868cae5562ea7c75c81 (patch)
treea698f50325f3cff43de3863f32321fde5890faf7 /.zprofile
parent117c1e2d0685625cd007491ed59a3a1437875d6b (diff)
downloaddotfiles-5cfa6cd75121cde38be64868cae5562ea7c75c81.tar.gz
dotfiles-5cfa6cd75121cde38be64868cae5562ea7c75c81.tar.bz2
dotfiles-5cfa6cd75121cde38be64868cae5562ea7c75c81.zip
Update config of xinit
Diffstat (limited to '.zprofile')
-rw-r--r--.zprofile3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zprofile b/.zprofile
new file mode 100644
index 0000000..277492d
--- /dev/null
+++ b/.zprofile
@@ -0,0 +1,3 @@
+if [ -z "${DISPLAY}" ] && [ "{XDG_VTNR}" -eq 1 ]; then
+ exec startx
+fi