From a7e3d42bccf386cb5a6ce3fef64c5643a5c039cc Mon Sep 17 00:00:00 2001 From: omri Date: Sat, 8 Jul 2023 15:20:42 +0300 Subject: [PATCH] herbstluftwm: kill all instances of panel.sh on restart --- .config/herbstluftwm/autostart | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index df1c99a..bd89997 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -212,6 +212,7 @@ hc set focus_follows_mouse 1 # panel hc detect_monitors +ps aux | grep panel.sh | grep -v grep | awk '{print $2}' | xargs kill panel=~/.config/herbstluftwm/panel/panel.sh for monitor in $(hc list_monitors | cut -d: -f1); do "$panel" "$monitor" &