start graphical env on tty1 by def

This commit is contained in:
Luke Smith 2019-11-23 14:31:14 -05:00
parent 509ccfbeb0
commit 04927ff8e8
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -36,7 +36,7 @@ export LESS_TERMCAP_ue="$(printf '%b' '')"
[ ! -f ~/.config/shortcutrc ] && shortcuts >/dev/null 2>&1
# Start graphical server on tty1 if not already running.
# [ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
# Switch escape and caps if tty:
sudo -n loadkeys ~/.local/share/larbs/ttymaps.kmap 2>/dev/null