I am going to add XDG application lookup into the core C lib. It's not fun to have to worry about things like that when you just want to write a WM. Also it requires parsing an .ini-relative which just isn't very nice to do in scheme since it lacks a lot of string manipulation stuff.
But first I'll finish this lovely bowl of pasta I just cooked. Tomato and ginger is a lovely combination.
=> More informations about this toot | More toots from lhp@mastodon.social
@lhp just wait until you get to the part where you need to lookup icons...
=> More informations about this toot | More toots from dnkl@treehouse.systems
@dnkl @lhp I'd personally just use libsfdo, I trust vyivel to have done things in a reasonable way: https://gitlab.freedesktop.org/vyivel/libsfdo
=> More informations about this toot | More toots from ifreund@hachyderm.io
@ifreund @dnkl Of course you're telling me that this library exists once I've already implemented it myself...
I'll check it out and see if it suites my needs. From a quick look through the headers it seems like it loads the entire application database at once. My approach currently is to go through all files one by one with a callback function, so the caller can determine which to keep and which to throw away. Right now I kinda prefer my approach.
=> More informations about this toot | More toots from lhp@mastodon.social This content has been proxied by September (ba2dc).Proxy Information
text/gemini