[xmonad] focusedHasProperty function

Mathias Stearn redbeard0531 at gmail.com
Tue Mar 25 00:28:43 EDT 2008


I am using this like so to prevent accidentally closing my term:
, ((modMask .|. shiftMask, xK_c),
    focusedHasProperty (ClassName "Roxterm") >>= flip unless kill1)

Hopefully this will be useful to someone else.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: focusedHasProperty.dpatch
Type: application/octet-stream
Size: 37819 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080325/4e34f611/focusedHasProperty-0001.obj


More information about the xmonad mailing list