Polybar: Minor refactor
This commit is contained in:
parent
a2a0b87b42
commit
8a6a1fb5c8
@ -29,7 +29,7 @@ step_fallback() {
|
||||
exit 51
|
||||
fi
|
||||
}
|
||||
step_configure_restack() {
|
||||
step_configure() {
|
||||
# Restack compatibility
|
||||
if pgrep -U "$UID" bspwm > /dev/null 2>&1; then
|
||||
export PB_WM_RESTACK="bspwm"
|
||||
@ -66,7 +66,7 @@ step_wait() {
|
||||
# Main
|
||||
main() {
|
||||
step_fallback
|
||||
step_configure_restack
|
||||
step_configure
|
||||
step_spawn_primary
|
||||
step_spawn_secondary
|
||||
step_wait
|
||||
|
Loading…
x
Reference in New Issue
Block a user