summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-12-05 19:23:27 -0500
committerLuke Smith <luke@lukesmith.xyz>2018-12-05 19:23:27 -0500
commit1adb9b9002a85f3cd79157c381fe2cf7835eda42 (patch)
tree19333bfb8d5f7cc1a861cccc1d8fb862bf7a360b
parent83b1b83d24568bfa2ccb77415c457e7e86b6e32d (diff)
downloadeibhear-1adb9b9002a85f3cd79157c381fe2cf7835eda42.tar.gz
eibhear-1adb9b9002a85f3cd79157c381fe2cf7835eda42.tar.zst
eibhear-1adb9b9002a85f3cd79157c381fe2cf7835eda42.zip
tmux fix
-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