summaryrefslogtreecommitdiffstats
path: root/herbstluftwm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-06-17 10:55:09 +0200
committerGravatar Tom Willemse2015-06-17 10:55:09 +0200
commit811b1720d39be64d8dc614fb96f0816fe7fc8a6e (patch)
tree075d91df8bb37a823edd30e84c5c598e3c5458fb /herbstluftwm
parent7762e3892d7622a0004c6901254c271f6ad30ce4 (diff)
downloaddotfiles-811b1720d39be64d8dc614fb96f0816fe7fc8a6e.tar.gz
dotfiles-811b1720d39be64d8dc614fb96f0816fe7fc8a6e.zip
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.
Diffstat (limited to 'herbstluftwm')
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/autostart12
1 files changed, 7 insertions, 5 deletions
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