[xmonad] additionalKeys: do two tasks?

Aleksandr Miroslav alexmiroslav at gmail.com
Tue Aug 27 21:41:30 CEST 2013


On Mon, Aug 26, 2013 at 5:29 PM, Brandon Allbery <allbery.b at gmail.com>wrote:
>
> As with most things in xmonad, use <+> to combine them. (In this case, >>
> will also work, as will the equivalent do notation.)
>     windows (W.view "1") <+> spawn "/usr/local/bin/xscreensaver-command
> -lock"
> (The above assumes: import qualified XMonad.StackSet as W)
>

 Thank you. That works perfectly.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130827/e4103d1e/attachment.htm>


More information about the xmonad mailing list