You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
739 B

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