From 26fdb2bcb24881a4c3ab6a1859bdcb9b646aa876 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 5 Sep 2022 20:04:26 +0200 Subject: Fixed wrong pgreps in .profile. --- stow/rcs/.profile | 4 ++-- 1 file 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 -- cgit v1.2.1