#!/usr/bin/env bash

# Toggles the left padding

PANELWIDTH=53
NEWPADDING=0

MONITORS=$(bspc query -M)
PRIMMONITOR=$(echo "$MONITORS"| head -1)

if (( $(bspc config -m "$PRIMMONITOR" left_padding) == $NEWPADDING )); then
	NEWPADDING=$PANELWIDTH
fi

bspc config -m "$PRIMMONITOR" left_padding $NEWPADDING

#!/usr/bin/env bash

# Toggles the left padding

PANELWIDTH=53
NEWPADDING=0

MON="$(bspc query -M -m)"

if (( $(bspc config -m "$MON" left_padding) == $NEWPADDING )); then
	NEWPADDING=$PANELWIDTH
fi

bspc config -m "$MON" left_padding $NEWPADDING

Adjust padding for current monitor
Adjust padding for current monitor
