Skip to content

Instantly share code, notes, and snippets.

@la11111
la11111 / dwm-ansistatuscolors-5.9.diff
Created November 11, 2012 12:52
DWM patch - Ansi escape codes to colorize your status bar - 5.9 & 6.0 tested OK
--- dwm.c 2011-07-10 15:24:25.000000000 -0500
+++ dwm-ansistatuscolors.c 2012-11-12 22:59:41.975424068 -0600
@@ -53,6 +53,7 @@
#define HEIGHT(X) ((X)->h + 2 * (X)->bw)
#define TAGMASK ((1 << LENGTH(tags)) - 1)
#define TEXTW(X) (textnw(X, strlen(X)) + dc.font.height)
+#define STATUS_BUF_LEN 8192 //la11111
/* enums */
enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */