From 1f18914a33ffdd6149b7c885a74d4664d75c51f3 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sat, 1 Aug 2020 19:44:27 -0400 Subject: [PATCH] Apply shfmt to polybar/launch.sh --- .config/bspwm/bspwmrc | 8 ++++---- .config/polybar/launch.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 8fae2eb..0143259 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -11,10 +11,10 @@ monitors=$(xrandr | grep -swc 'connected') # I currently have a laptop and a desktop with 2 monitors # This checks the number of monitors and then sets desktops if [ "$monitors" -gt 1 ]; then - bspc monitor HDMI-A-0 -d 1 2 3 4 5 - bspc monitor DisplayPort-0 -d 6 7 8 9 0 + bspc monitor HDMI-A-0 -d 1 2 3 4 5 + bspc monitor DisplayPort-0 -d 6 7 8 9 0 else - bspc monitor -d 1 2 3 4 5 6 7 8 9 0 + bspc monitor -d 1 2 3 4 5 6 7 8 9 0 fi bspc config border_width 2 @@ -43,5 +43,5 @@ picom --config ~/.config/compton.conf -b # Switch to a lefty mouse if mouse detected if xinput list | grep -qi 'mouse'; then - xmodmap -e "pointer = 3 2 1 " # swap mouse buttons + xmodmap -e "pointer = 3 2 1 " # swap mouse buttons fi diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh index 60665f5..b654798 100755 --- a/.config/polybar/launch.sh +++ b/.config/polybar/launch.sh @@ -8,5 +8,5 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done # Launch polybar on all monitors for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do - MONITOR=$m polybar --reload poly & + MONITOR=$m polybar --reload poly & done