mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 12:54:15 +01:00
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:
parent
082ff6bb12
commit
f1b4f82556
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user