Automatically start X when on display 1
Should start x after all the XDG folders have been set so that aliases etc should still work. If binds/aliases do not work (things like tm, tl, cl and so on) then this is presumably caused by a race condition and x should only be started *after* all directories have benn set.
This commit is contained in:
parent
8a31e9024a
commit
729bcf9660
1 changed files with 3 additions and 0 deletions
3
.config/shell/rc.d/autostartx.sh
Normal file
3
.config/shell/rc.d/autostartx.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
|
||||||
|
# exec startx ~/.xinitrc
|
||||||
|
# fi
|
Loading…
Reference in a new issue