On Mon, Oct 1, 2012 at 2:31 PM, Brent Yorgey <byorgey@seas.upenn.edu> wrote:
Can you say a bit more about exactly why TH is required? I get that
fclabels depends on it, but why do you have to turn on the
TemplateHaskell flag in your xmonad config? (I haven't actually
looked at the code.)
There's a splice and a quasiquoter used to add smartBorders to the layout.
> +-- > main = xmonad $ do
> +-- > modMask =: mod4Mask
> +-- > normalBorderColor =: "#222222"
> +-- > terminal =: "urxvt"
> +-- > manageHook =+ (isFullscreen --> doFullFloat)
> +-- > $(modifyLayout [| smartBorders |])
This strikes me as somewhat unfortunate, but it's possible that we can't do better given that layouts are rather ugly type-wise currently. (I have a, possibly several, layout modifiers that are stuck waiting for me to figure out if I can characterize their types properly.)
--
brandon s allbery allbery.b@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms