From 729bcf9660fa04e3b55f2252180df9a802868153 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 4 Jun 2019 11:30:45 +0200 Subject: [PATCH] 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. --- .config/shell/rc.d/autostartx.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .config/shell/rc.d/autostartx.sh diff --git a/.config/shell/rc.d/autostartx.sh b/.config/shell/rc.d/autostartx.sh new file mode 100644 index 0000000..2296142 --- /dev/null +++ b/.config/shell/rc.d/autostartx.sh @@ -0,0 +1,3 @@ +# if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then +# exec startx ~/.xinitrc +# fi