summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorJameyBear <WhispersofJ@gmail.com>2020-06-01 15:29:57 -0400
committerGitHub <noreply@github.com>2020-06-01 15:29:57 -0400
commitf820ccf4dd69d4cf784fca4fc0e1ae273993077e (patch)
treeda152f42dc7b4597b63bc63297032a640b410eb0 /.config
parent87b0754319a00648cd20b7f013cc821868f6d25e (diff)
downloadeibhear-f820ccf4dd69d4cf784fca4fc0e1ae273993077e.tar.gz
eibhear-f820ccf4dd69d4cf784fca4fc0e1ae273993077e.tar.zst
eibhear-f820ccf4dd69d4cf784fca4fc0e1ae273993077e.zip
Shellcheck (#676)
Co-authored-by: WhispersOfJ <kaotiks@gmail.com>
Diffstat (limited to '.config')
-rwxr-xr-x.config/bspwm/bspwm/bspwmrc4
-rwxr-xr-x.config/bspwm/bspwmrc4
-rwxr-xr-x.config/ranger/scope.sh6
3 files changed, 7 insertions, 7 deletions
diff --git a/.config/bspwm/bspwm/bspwmrc b/.config/bspwm/bspwm/bspwmrc
index 71c1a34..f0d4809 100755
--- a/.config/bspwm/bspwm/bspwmrc
+++ b/.config/bspwm/bspwm/bspwmrc
@@ -18,7 +18,7 @@ mainmonitor="$(bspc query --monitors --names | grep -v LVDS | head -n 1)"
# fi
# Start workspaces on the main monitor.
-bspc monitor $mainmonitor -d 1 2 3 4 5 6 7 8 9 10
+bspc monitor "$mainmonitor" -d 1 2 3 4 5 6 7 8 9 10
bspc desktop -f 1
# If you want a multi-monitor display or something else, I leave that to you to
@@ -32,7 +32,7 @@ bspc config focus_follows_pointer true
bspc rule -a Zathura state=tiled
dropdownname="dropdown"
-bspc query -N -n .hidden >/dev/null || setsid -f $TERMINAL -n "$dropdownname" -e dropdown >/dev/null 2>&1
+bspc query -N -n .hidden >/dev/null || setsid -f "$TERMINAL" -n "$dropdownname" -e dropdown >/dev/null 2>&1
bspc rule -a St:$dropdownname hidden=on
bspc rule -a St:$dropdownname sticky=on
bspc rule -a St:$dropdownname state=floating
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index 95ff5db..36b9abc 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -13,7 +13,7 @@ if ! echo "$mainmonitor" | grep LVDS >/dev/null 2>&1; then
fi
# Start workspaces on the main monitor.
-bspc monitor $mainmonitor -d 1 2 3 4 5 6 7 8 9 10
+bspc monitor "$mainmonitor" -d 1 2 3 4 5 6 7 8 9 10
bspc desktop -f 1
# If you want a multi-monitor display or something else, I leave that to you to
@@ -26,7 +26,7 @@ bspc config top_padding 24 # top_padding I set equal to polybar's height
bspc config focus_follows_pointer true
dropdownname="dropdown"
-bspc query -N -n .hidden >/dev/null || setsid -f $TERMINAL -n "$dropdownname" -e dropdown >/dev/null 2>&1
+bspc query -N -n .hidden >/dev/null || setsid -f "$TERMINAL" -n "$dropdownname" -e dropdown >/dev/null 2>&1
bspc rule -a St:$dropdownname hidden=on
bspc rule -a St:$dropdownname sticky=on
bspc rule -a St:$dropdownname state=floating
diff --git a/.config/ranger/scope.sh b/.config/ranger/scope.sh
index cce86cf..174ba17 100755
--- a/.config/ranger/scope.sh
+++ b/.config/ranger/scope.sh
@@ -88,9 +88,9 @@ case "$extension" in
try odt2txt "$path" && { dump | trim; exit 5; } || exit 1;;
# HTML Pages:
htm|html|xhtml)
- try w3m -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; }
- try lynx -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; }
- try elinks -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; }
+ try w3m -dump "$path" && { dump | trim | fmt -s -w "$width"; exit 4; }
+ try lynx -dump "$path" && { dump | trim | fmt -s -w "$width"; exit 4; }
+ try elinks -dump "$path" && { dump | trim | fmt -s -w "$width"; exit 4; }
;; # fall back to highlight/cat if the text browsers fail
esac