diff options
| author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2024-02-27 01:54:18 -0800 | 
|---|---|---|
| committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2024-02-27 01:54:18 -0800 | 
| commit | 5ff26c192ae1d0786790390cfae7759616bbe35f (patch) | |
| tree | 219fb55f93e844d8d31ee1a7a75b1e7446f9e5b4 | |
| parent | c8cb6db3d95fe7307d3e47f21c1ee40eb4783a9c (diff) | |
| download | dotfiles-5ff26c192ae1d0786790390cfae7759616bbe35f.tar.gz dotfiles-5ff26c192ae1d0786790390cfae7759616bbe35f.tar.xz | |
herbstluftwm: automatically load panel
| -rwxr-xr-x | config/herbstluftwm/autostart | 13 | 
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 | 
