Polybar: Minor refactor
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user