[herbstluftwm] Only launch the panel once

This commit is contained in:
Marcel Kapfer 2020-08-26 13:47:35 +02:00
parent 6fb61aac24
commit e35635f9ef
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -186,7 +186,4 @@ hc set_monitors 2560x1418+0+22 1920x1080+2560+0
# find the panel # find the panel
panel=~/.config/herbstluftwm/panel.sh panel=~/.config/herbstluftwm/panel.sh
[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh [ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh
for monitor in $(hc list_monitors | cut -d: -f1) ; do "$panel"
# start it on each monitor
"$panel" "$monitor" &
done