From 5efb0f2587a1471c6a50dccad732704110b0354b Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Tue, 11 Jun 2019 20:36:47 +0200 Subject: [PATCH] config: herbstluftwm: autostart: add rules for NetworkManager and autostart nm-applet --- config/herbstluftwm/autostart | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/herbstluftwm/autostart b/config/herbstluftwm/autostart index 3babe2b..e4ee7b3 100755 --- a/config/herbstluftwm/autostart +++ b/config/herbstluftwm/autostart @@ -176,6 +176,11 @@ hc rule focus=on # normally focus new clients hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on # don't manage Pinentry windows so they overlay the rest hc rule class='Pinentry' manage=off focus=on + +hc rule class='Gcr-prompter' manage=off focus=on +hc rule class='Nm-connection-editor' pseudotile=on +hc rule class='Nm-applet' pseudotile=on + hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off @@ -206,6 +211,10 @@ herbstclient set tree_style '╾│ ├└╼─┐' pids+=( $! ) done + # start nm-applet (network-manager) + nm-applet & + pids+=( $! ) + # wait until the panels should be stopped herbstclient -w '(quit_panel|reload)' # stop all started panels