2006-07-10 23:35:39 +07:00
|
|
|
/*
|
|
|
|
* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
|
|
|
|
* See LICENSE file for license details.
|
|
|
|
*/
|
|
|
|
|
2006-07-11 00:46:24 +07:00
|
|
|
#define FONT "-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-*"
|
2006-07-11 03:16:48 +07:00
|
|
|
#define BGCOLOR "#000000"
|
|
|
|
#define FGCOLOR "#ffaa00"
|
2006-07-11 00:46:24 +07:00
|
|
|
#define BORDERCOLOR "#000000"
|
2006-07-11 16:10:05 +07:00
|
|
|
#define STATUSCMD "echo -n `date` `uptime | sed 's/.*://; s/,//g'`" \
|
|
|
|
" `acpi | awk '{print $4}' | sed 's/,//'`"
|
2006-07-11 18:21:57 +07:00
|
|
|
#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`"
|
|
|
|
|
2006-07-11 16:50:18 +07:00
|
|
|
#define KEYS \
|
2006-07-11 17:52:57 +07:00
|
|
|
{ Mod1Mask, XK_Return, run, "xterm -u8 -bg black -fg white -fn '-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-*'" }, \
|
2006-07-11 18:21:57 +07:00
|
|
|
{ Mod1Mask, XK_p, run, PLCMD }, \
|
2006-07-11 17:52:57 +07:00
|
|
|
{ Mod1Mask | ShiftMask, XK_q, quit, NULL},
|
|
|
|
|