3 ms·
I'd suggest reading the dwm source: http://git.suckless.org/dwm/tree/dwm.c http://git.suckless.org/dwm/tree/dwm.c It's still one file, but it has more features
by __s 9y ago
I'd suggest reading the dwm source: http://git.suckless.org/dwm/tree/dwm.c http://git.suckless.org/dwm/tree/dwm.c
It's still one file, but it has more features & is less obfuscated
Otherwise I mostly learnt by reading XCB header files
That said things are going the way of Wayland, so I've since switched: https://github.com/serprex/noway https://github.com/serprex/noway
- marvy 9y agoThanks! Though I'd rather read yours. A couple of hundred lines seems less intimidating than a couple of thousand. Though still I doubt I'll get around to it.