diff options
author | arg@10ksloc.org <unknown> | 2006-07-19 17:42:08 +0200 |
---|---|---|
committer | arg@10ksloc.org <unknown> | 2006-07-19 17:42:08 +0200 |
commit | bcaf6a7a0f492c3fafc4baabd2dc06f5191417ee (patch) | |
tree | ec21757627c1bef7b9df09f80543a55f41f8a56f /event.c | |
parent | f95eed34b46dfe73f1511703e0a9301c9d8d1952 (diff) | |
download | dwm-bcaf6a7a0f492c3fafc4baabd2dc06f5191417ee.tar.gz dwm-bcaf6a7a0f492c3fafc4baabd2dc06f5191417ee.tar.bz2 dwm-bcaf6a7a0f492c3fafc4baabd2dc06f5191417ee.zip |
implemented regexp matching for rules
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -12,6 +12,14 @@ #define MouseMask (ButtonMask | PointerMotionMask) /* CUSTOMIZE */ + +typedef struct { + unsigned long mod; + KeySym keysym; + void (*func)(Arg *arg); + Arg arg; +} Key; + const char *browse[] = { "firefox", NULL }; const char *gimp[] = { "gimp", NULL }; const char *term[] = { @@ -20,7 +28,7 @@ const char *term[] = { }; const char *xlock[] = { "xlock", NULL }; -Key key[] = { +static Key key[] = { /* modifier key function arguments */ { ControlMask, XK_0, appendtag, { .i = Tscratch } }, { ControlMask, XK_1, appendtag, { .i = Tdev } }, |