Considering that most people who even would want to use this, will compile this by themselves, replacing Mod1Mask with something else shouldn’t be that difficult. These things are made to be hacked with after all.
Didn’t know it was intentional in the case of Xmonad. That’s probably also the reason I never got into it too, since it’s not only haskell but an entire DSL you’d have to learn.
I’m probably in the minority, but changing my mod key to alt is the first thing I do when I configure my window manager. I just have a easier time to hit alt.
most shells and gnu readline have alt+w and alt+b moving by words by default, alt+hjkl are commonly used too, but they seem to do different things in different shells.
edit: and I forgot about the the common pattern of GUI applications using alt to access the file, edit… etc menu by underlining the character that is bound: https://i.imgur.com/DyNr4kd.png
This site is even more interesting, since it lists alternative implementations: http://incise.org/tinywm.html, very helpful when trying to get into X11 programming, since usually it’s quite overwhelming to even understand all the functions used in dwm.
I blogged about this back in 2012[1] and still use it today. Though the code is simple, I’m not sure if you’d call it “lightweight” since it has to poll the clipboard once every second. I wish I knew an evented way to do that…
Not that it’s hard to find, but for anyone whose curiosity was piqued by the opening paragraph of the README, here’s the commit where they switched from parody to serious.
There aren’t many commits like these.
The original README screenshot was actually quite good.
Also smol and comfy.
OwO
The choice to use alt as mod key and therefor to overwriting commonly used keybindings seems very counter productive.
Considering that most people who even would want to use this, will compile this by themselves, replacing Mod1Mask with something else shouldn’t be that difficult. These things are made to be hacked with after all.
XMonad does this too; I think they pick a bad default specifically in order to make people install the Haskell compiler and learn enough to change it.
Didn’t know it was intentional in the case of Xmonad. That’s probably also the reason I never got into it too, since it’s not only haskell but an entire DSL you’d have to learn.
It’s only speculation, but it’s hard to find any other explanation for such a bad default.
I’m probably in the minority, but changing my mod key to alt is the first thing I do when I configure my window manager. I just have a easier time to hit alt.
This drives me insane.
I use dwm which also uses alt keys and I don’t recall it ever being a problem. Programs I use seem to prefer ctrl keys.
most shells and gnu readline have alt+w and alt+b moving by words by default, alt+hjkl are commonly used too, but they seem to do different things in different shells.
edit: and I forgot about the the common pattern of GUI applications using alt to access the file, edit… etc menu by underlining the character that is bound: https://i.imgur.com/DyNr4kd.png
There is also the tinywm in 50 cloc.
This site is even more interesting, since it lists alternative implementations: http://incise.org/tinywm.html, very helpful when trying to get into X11 programming, since usually it’s quite overwhelming to even understand all the functions used in dwm.
“a window manager. It is only around 50 lines of C. “
I didn’t even know that was possible. Thanks for the link.
This is really great!. I have a related question. What is a sane clipboard manager that one can use that
I blogged about this back in 2012[1] and still use it today. Though the code is simple, I’m not sure if you’d call it “lightweight” since it has to poll the clipboard once every second. I wish I knew an evented way to do that…
[1] https://mpov.timmorgan.org/super-simple-clipboard-history-for-linux/
There’s a dmenu script. Haven’t used it myself, but usually suckless stuff is easy to modify if it doesn’t exactly do what you want.
Wow, time for someone to fork it for a screen reader happy version and another tiling wm version. Bbbbbbbbare to the Bone!
I think wmutils is also very good as an excercise on minimalism.