]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - herbstluftwm/autostart
herbstluftwm/autostart: auto-detect new monitors
[config/dotfiles.git] / herbstluftwm / autostart
index 18377756bdfeea534ab995ddba4500d510225a99..3c4fcd7c2d75afa040e09413f603055eaaf17100 100755 (executable)
@@ -123,6 +123,8 @@ hc mouseunbind --all
 
 # Necessary for Java so it recognizes herbstluftwm as tiling window manager.
 hc set wmname LG3D
+# Auto-detect new monitors.
+hc set auto_detect_monitors 1
 
 
 # WINDOW and FRAME SETTINGS
@@ -170,6 +172,12 @@ hc rule focus=off \
         ewmhrequests=off \
         index=1
 
+# Focus important windows when they are opened.
+hc rule instance=xmessage focus=on
+
+# Move Iceweasel to tag 2.
+hc rule instance=Navigator class=Iceweasel tag=2
+
 
 # After everything is done, allow redrawing of the windows.
 hc unlock