summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig/herbstluftwm/autostart13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/herbstluftwm/autostart b/config/herbstluftwm/autostart
index 493a930..8473d35 100755
--- a/config/herbstluftwm/autostart
+++ b/config/herbstluftwm/autostart
@@ -130,4 +130,17 @@ hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' pseudotile=on focus=on
hc rule windowtype='_NET_WM_WINDOW_TYPE_SPLASH' pseudotile=on
+{
+ panel="${HOME}/dev/panel/panel.py"
+
+ if [[ -e "${panel}" ]]; then
+ "${panel}" &
+
+ pid=$!
+ herbstclient -w '(quit_panel|reload)'
+ kill $pid
+ fi
+} &
+
+
hc unlock