X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=herbstluftwm%2Fautostart;h=97980b27e323106dba0ec484492e4b8ba71ab08e;hb=be213876436409661de8a2fdb908a28851fa482b;hp=22dbd0fb4b38f64dbf50fe44eeeffbcf20c9d5f6;hpb=ba31b019ce0cb3e1d8115fe38f440344ba770dbb;p=config%2Fdotfiles.git diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 22dbd0f..97980b2 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -35,6 +35,14 @@ notify() { # Fallback solution, display first line of stdin. read x xmessage -timeout "$1" "$x" & + else + # Last way to send a "message", create a stupid window layout so I + # notice something is up and look at the logs. + hc fullscreen off + hc floating off + hc pseudotile off + hc split vertical 0.1 + hc unlock # or we might not see the changes fi } @@ -162,6 +170,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