You will find my code written in C here :)
segstr
- Get delimiter-separated segments from a string in a non-destructive method.
- libxkeymacro - Easily register global keyboard macros/shortcuts/hotkeys in X window system. Used by mapmywindows, so see that as an example.
- mapmywindows - A small program to show and hide windows in X window system (commonly used in Linux desktops).