summaryrefslogtreecommitdiffstats
path: root/herbstluftwm/.config/herbstluftwm/autostart
diff options
context:
space:
mode:
Diffstat (limited to 'herbstluftwm/.config/herbstluftwm/autostart')
-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