aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-09-05 20:04:26 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-09-05 20:04:26 +0200
commit26fdb2bcb24881a4c3ab6a1859bdcb9b646aa876 (patch)
treee839b61f1e3833201e00531ca9375850bee5035c
parentafe8d4a2658c6aa3b7c14ca11bfc28377180a89e (diff)
downloadconfigs-26fdb2bcb24881a4c3ab6a1859bdcb9b646aa876.tar.gz
configs-26fdb2bcb24881a4c3ab6a1859bdcb9b646aa876.zip
Fixed wrong pgreps in .profile.
-rw-r--r--stow/rcs/.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/stow/rcs/.profile b/stow/rcs/.profile
index d461cce..0c17991 100644
--- a/stow/rcs/.profile
+++ b/stow/rcs/.profile
@@ -22,13 +22,13 @@ sudo -n loadkeys "$XDG_CONFIG_HOME/ttymaps.kmap"
xinitrc=""
-if [ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3; then
+if [ "$(tty)" = "/dev/tty1" ] && ! pgrep -x bspwm; then
export STATUS_BAR="polybar"
xinitrc="$HOME/.xinitrcbspwm"
elif [ "$(tty)" = "/dev/tty2" ] && ! pgrep -x dwm; then
export STATUS_BAR="dwmblocks"
xinitrc="$HOME/.xinitrcdwm"
-elif [ "$(tty)" = "/dev/tty3" ] && ! pgrep -x bspwm; then
+elif [ "$(tty)" = "/dev/tty3" ] && ! pgrep -x i3; then
export STATUS_BAR="i3blocks"
xinitrc="$HOME/.xinitrci3"
elif [ "$(tty)" = "/dev/tty4" ] && ! pgrep -x gnome-session; then