config.h
changeset 14 5c078b66347b
parent 11 ea9c08ec4b48
child 16 359b6e563b95
equal deleted inserted replaced
13:5cc5e55a132d 14:5c078b66347b
     1 /*
     1 /*
     2  * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
     2  * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
     3  * See LICENSE file for license details.
     3  * See LICENSE file for license details.
     4  */
     4  */
     5 
     5 
     6 #define FONT		"-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-*"
     6 #define FONT		"-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
     7 #define BGCOLOR		"#000000"
     7 #define BGCOLOR		"#000000"
     8 #define FGCOLOR		"#ffaa00"
     8 #define FGCOLOR		"#ffaa00"
     9 #define BORDERCOLOR	"#000000"
     9 #define BORDERCOLOR	"#000000"
    10 #define STATUSCMD	"echo -n `date` `uptime | sed 's/.*://; s/,//g'`" \
    10 #define STATUSDELAY 1 /* milliseconds */
    11 					" `acpi | awk '{print $4}' | sed 's/,//'`"
       
    12 #define PLCMD		"`ls -lL /bin /sbin /usr/bin /usr/local/bin 2>/dev/null | awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | gridmenu`"
       
    13 
       
    14 #define KEYS		\
       
    15 	{ Mod1Mask, XK_Return, run, "xterm -u8 -bg black -fg white -fn '-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-*'" }, \
       
    16 	{ Mod1Mask, XK_p, run, PLCMD }, \
       
    17 	{ Mod1Mask | ShiftMask, XK_q, quit, NULL},
       
    18