From 5ff26c192ae1d0786790390cfae7759616bbe35f Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Tue, 27 Feb 2024 01:54:18 -0800 Subject: herbstluftwm: automatically load panel --- config/herbstluftwm/autostart | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'config/herbstluftwm') 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 -- cgit v1.2.3-70-g09d2