Skip to content

Commit

Permalink
Add .zprofile for autostarting X
Browse files Browse the repository at this point in the history
  • Loading branch information
polyzen committed Jun 10, 2020
1 parent e6e61ae commit c084b96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README
Expand Up @@ -75,4 +75,5 @@ workstation
│   └── user.js
├── .notmuch-config
├── .xinitrc
└── .Xresources
├── .Xresources
└── .zprofile
3 changes: 3 additions & 0 deletions workstation/.zprofile
@@ -0,0 +1,3 @@
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi

0 comments on commit c084b96

Please sign in to comment.