Implement some simple flags and runtime log-levels

I used flags.zig from Isaac Freund for parsing basic CLI arguments,
I don't need much else since most configuration is in Kdl.
e967499fb1/common/flags.zig

I also removed some of the duplicated bits for the exe_check step
since I realized I can just use the beansprout executable for all of it.
This commit is contained in:
Ben Buhse 2026-02-08 16:17:28 -06:00
commit ec7474c9af
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
8 changed files with 277 additions and 65 deletions

View file

@ -13,7 +13,6 @@ These are in rough order of my priority, though no promises I do them in this or
- [ ] Support per-host config using properties (maybe also per-output?)
- [ ] Add input configuration, i.e. pointer acceleration and that type of thing
- [ ] Support a basic bar
- [ ] Implement runtime log levels
- [ ] Support starting programs at WM launch
- [ ] Support overriding config location
- [ ] Add support for multimedia/brightness keys (this might not be neccesary)
@ -25,5 +24,6 @@ These are in rough order of my priority, though no promises I do them in this or
- [x] Support floating windows
- [x] Support wallpapers
- [x] Make "orelse return" bits into errors; handle gracefully
- [x] Implement runtime log levels
- [ ] Switch all structs to idiomatic Zig init/deinit pattern (init returns value, caller decides stack/heap)
- I'm not sure I really need this