comparison kb.c @ 20:4560e0882c1d

made code more readable
author Anselm R. Garbe <garbeam@wmii.de>
date Tue, 11 Jul 2006 22:49:09 +0200
parents 1efa34c6e1b6
children 95ffdfd0a819
comparison
equal deleted inserted replaced
19:b5510d0c6d43 20:4560e0882c1d
6 #include "wm.h" 6 #include "wm.h"
7 7
8 #include <X11/keysym.h> 8 #include <X11/keysym.h>
9 9
10 static const char *term[] = { 10 static const char *term[] = {
11 "xterm", "-u8", "-bg", "black", "-fg", "white", "-fn", 11 "xterm", "-bg", "black", "-fg", "white", "-fn",
12 "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", 0 12 "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", 0
13 }; 13 };
14 14
15 static const char *proglist[] = { 15 static const char *proglist[] = {
16 "sh", "-c", "exec `ls -lL /bin /sbin /usr/bin /usr/local/bin 2>/dev/null | awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | gridmenu`", 0 16 "sh", "-c", "exec `ls -lL /bin /sbin /usr/bin /usr/local/bin 2>/dev/null | awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | gridmenu`", 0