xmonad / xmonad-contrib

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

Config modifiers `infixl 4` so you can use `(++)` #799

Closed geekosaur closed 1 year ago

geekosaur commented 1 year ago

Description

Per a discussion we had last November, this PR changes the fixity of additionalKeys and friends from the default (infixl 9) to infixl 4. This makes it possible to use (++) to concatenate lists within them without requiring extra parentheses, since (++) is infixl 5.

This should not affect existing configs.

Checklist