diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 01:04:38 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 01:04:38 +0200 |
commit | da2bbd371c522d63d737d43a127601a3fdbcb9d8 (patch) | |
tree | fe7f5874dc09c446d3da38f15930c5f6ae523c13 /kb.c | |
parent | b1701adf75297747c52e0c3ed2c314cd10129907 (diff) | |
download | dwm-da2bbd371c522d63d737d43a127601a3fdbcb9d8.tar dwm-da2bbd371c522d63d737d43a127601a3fdbcb9d8.tar.gz dwm-da2bbd371c522d63d737d43a127601a3fdbcb9d8.tar.bz2 |
before leaning things up
Diffstat (limited to 'kb.c')
-rw-r--r-- | kb.c | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -7,27 +7,32 @@ #include <X11/keysym.h> -static const char *term[] = { +/********** CUSTOMIZE **********/ + +char *cmdterm[] = { "aterm", "-tr", "+sb", "-bg", "black", "-fg", "white", "-fn", - "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", 0 + "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*",NULL }; -static const char *proglist[] = { +char *cmdproglist[] = { "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 }; static Key key[] = { - { Mod1Mask, XK_Return, run, term }, - { Mod1Mask, XK_p, run, proglist }, + { Mod1Mask, XK_Return, run, cmdterm }, + { Mod1Mask, XK_p, run, cmdproglist}, { Mod1Mask, XK_k, sel, "prev" }, { Mod1Mask, XK_j, sel, "next" }, - { Mod1Mask, XK_g, arrange, NULL }, + { Mod1Mask, XK_g, grid, NULL }, + { Mod1Mask, XK_f, floating, NULL }, { Mod1Mask, XK_m, max, NULL }, { Mod1Mask | ShiftMask, XK_c, kill, NULL }, { Mod1Mask | ShiftMask, XK_q, quit, NULL }, }; +/********** CUSTOMIZE **********/ + void update_keys() { |