Open bakkeby opened 2 years ago
My take on this: I think most ppl using dwm-flexipatch
are gonna build from it, specially since there is a script that removes all the bloat. tbh I really think the renaming is really nice (less chars), whoever it's building their dwm from the ground up might as well
re-rename the mods (for example Shift
-> ShiftMask
and so on).
The benefit is readability
That depends. If the reader is already familiar with configuring suckless style config.h then the newer macros will actually confuse him, at least at first.
But if we assume most users to be newbie (fair and probably correct assumption) then "super" is arguable. Most people call it the "windows key" or the "win-key".
P.S: I also think there's lower hanging fruits to be picked if making config.h frenlier to newbies is a goal. For example the tag rules uses a bitmask, which is certainly far less readable to newbies compared to pesky ControlMask
=> Ctrl
.
Rather than using
ShiftMask
,ControlMask
,Mod1Mask
,Mod4Mask
, etc. for the modifier keys in dwm keybindings we could define macros on this form:When used this
would look like this:
The benefit is readability, but the downside is the potential for confusion when moving from dwm-flexipatch to bare dwm or individual patches.