Polybar: Simplify the startup script

I don't use i3; why have compatibility for it?
This commit is contained in:
Salt 2018-05-06 01:55:10 -05:00
parent 135d226f22
commit cc174ff33d

View File

@ -5,14 +5,7 @@
# #
# Distributed under terms of the MIT license. # Distributed under terms of the MIT license.
# #
# Which WM are we using?
if $(pgrep i3); then
export PB_WM_RESTACK=i3
fi
if $(pgrep bspwm); then
export PB_WM_RESTACK=bspwm export PB_WM_RESTACK=bspwm
fi
# Iterate through monitors and spawn bars on each # Iterate through monitors and spawn bars on each
# Starting with the primary monitor... # Starting with the primary monitor...