diff --git a/.profile b/.profile index 83f370e8..d27586aa 100644 --- a/.profile +++ b/.profile @@ -31,7 +31,7 @@ mpd >/dev/null 2>&1 & echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc" # 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 && startx # Switch escape and caps if tty: sudo -n loadkeys ~/.local/bin/ttymaps.kmap 2>/dev/null