This commit is contained in:
Luke Smith 2018-12-05 19:23:27 -05:00
parent 83b1b83d24
commit 1adb9b9002

View file

@ -27,7 +27,7 @@ export LESS_TERMCAP_ue=$'\E[0m' # reset underline
[ -f ~/.bashrc ] && source ~/.bashrc [ -f ~/.bashrc ] && source ~/.bashrc
# Start graphical server if i3 not already running. # Start graphical server if i3 not already running.
[ "$(tty)" = "/dev/tty1" ] && pgrep -x i3 >/dev/null || exec startx [ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && exec startx
# Switch escape and caps and use wal colors if tty: # Switch escape and caps and use wal colors if tty:
sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null