From 811b1720d39be64d8dc614fb96f0816fe7fc8a6e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 17 Jun 2015 10:55:09 +0200 Subject: Update wm rules - Always focus new windows. - Put URxvt windows on tag 1 in frame 1 and switch to the tag if necessary. - Put Emacs windows on tag 1 in frame 0. - Put Conkeror winndows on tag 2 in frame 0. - Turn on pseudotile for Pinentry windows. - Don't focus Firefox windows. - Do focus firefox-developer windows. --- herbstluftwm/.config/herbstluftwm/autostart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'herbstluftwm/.config') diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart index ce0168f..8eb996f 100755 --- a/herbstluftwm/.config/herbstluftwm/autostart +++ b/herbstluftwm/.config/herbstluftwm/autostart @@ -108,12 +108,14 @@ hc set update_dragged_clients 1 # rules hc unrule -F -#hc rule class=XTerm tag=3 # move all xterms to tag 3 -hc rule focus=off # normally do not focus new clients -# give focus to most common terminals -hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on +hc rule focus=on # normally do focus new clients +hc rule class=URxvt focus=on tag=1 index=1 switchtag=on +hc rule class=Emacs tag=1 index=0 +hc rule class=Conkeror tag=2 index=0 +hc rule class=Pinentry pseudotile=on +hc rule class=Firefox focus=off +hc rule instance=firefox-developer focus=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)' manage=off # unlock, just to be sure -- cgit v1.2.3-54-g00ecf