diff options
Diffstat (limited to 'config')
| -rwxr-xr-x | config/bspwm/bspwmrc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc index 640d404..2e30cd2 100755 --- a/config/bspwm/bspwmrc +++ b/config/bspwm/bspwmrc @@ -15,8 +15,13 @@ pgrep -x picom > /dev/null || picom & pgrep -x xss-lock > /dev/null || xss-lock slock & pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null & -[ -f "$HOME/.scripts/xrandr.sh" ] && . $HOME/.scripts/xrandr.sh -[ -f "$HOME/.config/xrandr.sh" ] && . $HOME/.config/xrandr.sh +if [ -f "$HOME/.config/xrandr.sh" ] ; then + . $HOME/.config/xrandr.sh +else + if [ -f "$HOME/.scripts/xrandr.sh" ] ; then + . $HOME/.scripts/xrandr.sh + fi +fi primary=$(bspc query --monitors -m primary) set -- a b c d e f g h i j k l m n o |
