# Auxillary Programs
-* Acme-like window manager
+* Visual diff tool
* Win-like terminal emulator
* File browser
+* Acme-like window manager
+
size_t x11_font_getglyphs(XGlyphSpec* specs, const XGlyph* glyphs, int len, XFont font, int x, int y);
void x11_draw_glyphs(int fg, int bg, XGlyphSpec* glyphs, size_t nglyphs);
void x11_draw_utf8(XFont font, int fg, int bg, int x, int y, char* str);
+bool x11_getsel(int selid, void(*cbfn)(char*));
+bool x11_setsel(int selid, char* str);
++
/* External Commands
*****************************************************************************/
+ /* The shell: Filled in with $SHELL. Used to execute commands */
+ static char* ShellCmd[] = { NULL, "-c", NULL, NULL };
+
#ifdef __MACH__
static char* CopyCmd[] = { "pbcopy", NULL };
-static char* PasteCmd[] = { "pbpaste", NULL };
#else
static char* CopyCmd[] = { "xsel", "-bi", NULL };
-static char* PasteCmd[] = { "xsel", "-bo", NULL };
#endif
- static char* ShellCmd[] = { "/bin/sh", "-c", NULL, NULL };
static char* PickFileCmd[] = { "xfilepick", ".", NULL };
static char* PickTagCmd[] = { "xtagpick", "tags", NULL, NULL };
static char* OpenCmd[] = { "xedit", NULL, NULL };