18 lines
739 B
C
18 lines
739 B
C
/*
|
|
* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
|
|
* See LICENSE file for license details.
|
|
*/
|
|
|
|
#define FONT "-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-*"
|
|
#define BGCOLOR "#000000"
|
|
#define FGCOLOR "#ffaa00"
|
|
#define BORDERCOLOR "#000000"
|
|
#define STATUSCMD "echo -n `date` `uptime | sed 's/.*://; s/,//g'`" \
|
|
" `acpi | awk '{print $4}' | sed 's/,//'`"
|
|
#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`"
|
|
|
|
#define KEYS \
|
|
{ Mod1Mask, XK_Return, run, "xterm -u8 -bg black -fg white -fn '-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-*'" }, \
|
|
{ Mod1Mask, XK_p, run, PLCMD }, \
|
|
{ Mod1Mask | ShiftMask, XK_q, quit, NULL},
|
|
|