polybar: Remove the no bar option

It turns out that polybar is able to provide very useful information for
window management in bspwm, so much so that disabling the bar completely
wouldn't make sense.

Since there's already a way to hide the bar (with a sxhkd keybind), and
since a "no bar" option would break this functionality even though the
hidden bar keybind produces the same result, it makes sense to remove
this.
This commit is contained in:
Donovan Glover 2018-12-05 11:20:10 -05:00
parent 082ff6bb12
commit f1b4f82556
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -14,9 +14,6 @@ bspc_config() {
bspc config window_gap $3 &
}
# If no bar was specified, we're done here.
if [ -z "$1" ]; then bspc_config 0 $((1 * $POLYBAR_SCALE)) 0; exit; fi
# Set defaults
POLYBAR_HEIGHT=$((40 * $POLYBAR_SCALE))
HOST_WIDTH=$(bspc query -T -m | jq '.rectangle.width')