I FINALLY GOT RID OF SPECIAL ARGS!
Okay here’s why that change is important (I need to wait for CI to pass, so I have around 30 minutes of “free time”): Special args are variables that can be passed to modules. You have to explicitly “send” and explicitly “receive” them, which makes them kinda bad. They’re also non modular, meaning they can break without sender.
I finally bit the bullet and moved to module based system. The advantages of them are as follows:
- No explicit receiving required
- Easier to create complicated expressions with
- Can be limited to a few values only
- Values can be something other than strings
- Officially supported by flake-parts, the framework I’m using
- More portable
Generally they’re a superior options and I’m happy I implemented them.
There’re still many things I want to work on:
- Plasma and Niri desktops with modules for DE configuration
- Nushell with modules for shell configuration
- Improving docs
- More hosts
- Other projects :)
I forgot something for sure, but I’m honestly surprised that I could recall only so few things. Anyway, happy hacking!
Comments 1
There should be 2 images, I don’t know why there’s only one
Sign in to join the conversation.