bspwm, Polybar: Move wm-restack to envvar, add secondary bar

Hardcoding is bad and I felt bad
This commit is contained in:
2018-01-20 13:29:15 -06:00
parent a6266408ca
commit 9710720d09
2 changed files with 14 additions and 2 deletions

View File

@@ -37,7 +37,12 @@ if [[ $(pgrep polybar) ]]; then
# Just covering bases here. Makes it easy to reload settings.
killall polybar
fi
polybar -r alpha & # Simple bar
# Polybar and related configuration
$(
export PB_WM_RESTACK=bspwm
polybar -r alpha &
)&
## bspwm GENERAL CONFIGURATION
bspc monitor -d 1 2 3 4 5 6 7 8