xmonad / xmonad-contrib

Contributed modules for xmonad
https://xmonad.org
BSD 3-Clause "New" or "Revised" License
589 stars 274 forks source link

Extend the `XMonad.Hooks.ManageHelpers` EDSL #628

Closed slotThe closed 3 years ago

slotThe commented 3 years ago

Feature Description

There have been more and more people on IRC wanting something like (=?), but for isPrefixOf, isInfixOf, or another function. I think some of these would make a great addition to the EDSL that's defined by X.ManageHook and extended by X.H.ManageHelpers.

Suggestions:

Further, it sounds like a good idea to tell users in the docs of either X.H.ManageHelpers, or X.ManageHook how to define these small functions; since it's mostly just one call to fmap + the function, this is probably less intimidating than it would initially seem.

If you want to start contributing to xmonad, this is an ideal issue! Feel free to ask for help in this issue, on IRC, Matrix, or via another channel of your choosing :tada:

astynax commented 3 years ago

I would like to try!

slotThe commented 3 years ago

@astynax Awesome! I've assigned the issue to you