[xmonad] More possibilities for border width customization

Bogdan Sinitsyn bogdan.sinitsyn at gmail.com
Wed Dec 30 04:05:17 UTC 2015


On Tuesday, December 29, 2015 9:10:56 PM MSK Brent Yorgey wrote:
> This seems to me like it would be a rather invasive breaking change
> (changing the type of a field in the main xmonad config record).
> Personally I do not think it would be worth it.  However if someone makes a
> patch, along with a reasoned justification, it will certainly be considered.
> 
> -Brent
> 
> On Tue, Dec 22, 2015 at 1:25 PM Bogdan Sinitsyn <bogdan.sinitsyn at gmail.com>
> 
> wrote:
> > Sometimes it would be better to customize border width depending on
> > window. Is
> > it possible to merge this functionality into core?
> > --
> > Bogdan Sinitsyn
> > _______________________________________________
> > xmonad mailing list
> > xmonad at haskell.org
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
It can be done by adding new field of type `Query (Maybe Dimension)`. This 
solution does not break compatibility with almost all old configurations(it 
will break only those, who use `XConfig { ... }`, not `def { ... }`). PR on 
GitHub is already made.

-- 
Bogdan Sinitsyn


More information about the xmonad mailing list