config: herbstluftwm: autostart: add rules for NetworkManager and autostart nm-applet

This commit is contained in:
Thomas Preisner 2019-06-11 20:36:47 +02:00
parent 21237ae0d9
commit 5efb0f2587

View file

@ -176,6 +176,11 @@ hc rule focus=on # normally focus new clients
hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on
# don't manage Pinentry windows so they overlay the rest # don't manage Pinentry windows so they overlay the rest
hc rule class='Pinentry' manage=off focus=on 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|UTILITY|SPLASH)' pseudotile=on
hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off
@ -206,6 +211,10 @@ herbstclient set tree_style '╾│ ├└╼─┐'
pids+=( $! ) pids+=( $! )
done done
# start nm-applet (network-manager)
nm-applet &
pids+=( $! )
# wait until the panels should be stopped # wait until the panels should be stopped
herbstclient -w '(quit_panel|reload)' herbstclient -w '(quit_panel|reload)'
# stop all started panels # stop all started panels