<div dir="ltr"><div><div>Thanks for the info!<br><br></div>That is probably the only thing XMonad can't do :)<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 18, 2014 at 6:41 PM, Brandon Allbery <span dir="ltr"><<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Sat, Jan 18, 2014 at 9:20 PM, Ruslan Kiianchuk <span dir="ltr"><<a href="mailto:ruslan.kiianchuk@gmail.com" target="_blank">ruslan.kiianchuk@gmail.com</a>></span> wrote:<br>


</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Yet I have a question on switching workspace layouts. I'd like the <span style="font-family:'courier new',monospace">Mod + Shift + Space</span> <font face="arial,helvetica,sans-serif">shortcut to switch to previous workspace instead of the first (default) one. In default config I found only:</font><br>


</div></div>

<pre><span style="font-family:courier new,monospace">     <span>-- Rotate through the available layout algorithms</span>
    <span>,</span> <span>(</span><span>(</span>modm<span>,</span>               xK<span>_</span>space <span>)</span><span>,</span> sendMessage NextLayout<span>)</span>
 
    <span>--  Reset the layouts on the current workspace to default</span>
    <span>,</span> <span>(</span><span>(</span>modm <span>.|.</span> shiftMask<span>,</span> xK<span>_</span>space <span>)</span><span>,</span> setLayout <span>$</span> XMonad<span>.</span>layoutHook conf<span>)</span></span></pre>




<div><div><br></div><div><font face="arial,helvetica,sans-serif">Also looking </font>through<span style="font-family:courier new,monospace"> XMonad.Layout</span> I could find only <span style="font-family:courier new,monospace">NextLayout</span> and <span style="font-family:courier new,monospace">FirstLayout</span> messages. No <span style="font-family:courier new,monospace">PreviousLayout</span>. Is there any straight forward way to implement that?<br>


</div></div></div></blockquote><div><br></div></div><div>The layoutHook is a function; a previous-layout mechanism would involve trying to run that function "backwards". There is unfortunately no way around this.</div>


</div><div class="im"><div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>


<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div>Sincerely, Ruslan Kiianchuk.</div>
</div>