commit 1adb9b9002a85f3cd79157c381fe2cf7835eda42
parent 83b1b83d24568bfa2ccb77415c457e7e86b6e32d
Author: Luke Smith <luke@lukesmith.xyz>
Date: Wed, 5 Dec 2018 19:23:27 -0500
tmux fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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