summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/.profile b/.profile
index a534506..4809ad1 100644
--- a/.profile
+++ b/.profile
@@ -27,7 +27,7 @@ export LESS_TERMCAP_ue=$'\E[0m' # reset underline
[ -f ~/.bashrc ] && source ~/.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 && exec startx
# Switch escape and caps and use wal colors if tty:
sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null