summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2024-02-27 01:54:18 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2024-02-27 01:54:18 -0800
commit5ff26c192ae1d0786790390cfae7759616bbe35f (patch)
tree219fb55f93e844d8d31ee1a7a75b1e7446f9e5b4 /config
parentc8cb6db3d95fe7307d3e47f21c1ee40eb4783a9c (diff)
downloaddotfiles-5ff26c192ae1d0786790390cfae7759616bbe35f.tar.gz
dotfiles-5ff26c192ae1d0786790390cfae7759616bbe35f.tar.xz
herbstluftwm: automatically load panel
Diffstat (limited to 'config')
-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