too stupid for friends on Nostr: I've had a little fun working out what I can and can't do, with 9front: I'm ...
I've had a little fun working out what I can and can't do, with 9front: I'm comfortable with acme and the parts of sam that bleed into acme enough to have a mess of windows in two columns; I'm comfortable modifying my /lib/ndb/local as necessary; and I'm trying to modify libtheme, to be able to show wallpaper images... but I don't know libdraw near well enough yet.
What I do know is that I need to readimage() the path from my lib/theme ndb file, allocimage it somewhere, and then in rio.c where it normally draws the background colour, check if the background image is not nil and draw the image in place of a colour. What I haven't worked out yet, is precisely how I get the right dimensions for allocimage, and if I can make the image stretch/fill the screen.
But the fact I can so quickly open files, edit them, arrange them, and test them... this is a little heavenly, even if I've not made the progress I'd like. I'll put my version of libtheme up, plus patches, if I get this, though. It definitely won't be tonight >.>
(also, there's the 9grid chat up in that corner there)
Published at
2023-09-03 04:24:40Event JSON
{
"id": "51b24c6984e1a4dd18e6b0a37d08f5223b547476ceb17b9b84307217d8937767",
"pubkey": "76cd38b01615daaed7c8b2f576c9c1a970617e3b7ff5e08ac3996dffdc76ba6e",
"created_at": 1693707880,
"kind": 1,
"tags": [
[
"proxy",
"https://collapse.pub/objects/631cb5ba-9ee8-4983-b0f0-389913e41f2c",
"activitypub"
]
],
"content": "I've had a little fun working out what I can and can't do, with 9front: I'm comfortable with acme and the parts of sam that bleed into acme enough to have a mess of windows in two columns; I'm comfortable modifying my /lib/ndb/local as necessary; and I'm trying to modify libtheme, to be able to show wallpaper images... but I don't know libdraw near well enough yet.\n\nWhat I do know is that I need to readimage() the path from my lib/theme ndb file, allocimage it somewhere, and then in rio.c where it normally draws the background colour, check if the background image is not nil and draw the image in place of a colour. What I haven't worked out yet, is precisely how I get the right dimensions for allocimage, and if I can make the image stretch/fill the screen.\n\nBut the fact I can so quickly open files, edit them, arrange them, and test them... this is a little heavenly, even if I've not made the progress I'd like. I'll put my version of libtheme up, plus patches, if I get this, though. It definitely won't be tonight \u003e.\u003e\n\n(also, there's the 9grid chat up in that corner there)\n\nhttps://collapse.pub/media/6cc64cf846b8c48bb9334cbe1c9c471e727ca743109d1a739be96fce91e7a8cf.png",
"sig": "5a44113bbe13c26dc301022e9db2b4ecd6e8bd7052e0823497bf0b6a446632c3dbfa6c297e2b1400c78686c9e58cd86290f6cc78cc447730dfd51c033ac190d5"
}