diff options
author | ian <ian> | 2007-11-28 16:35:52 +0000 |
---|---|---|
committer | ian <ian> | 2007-11-28 16:35:52 +0000 |
commit | 8b3cd2243acdd75581b9d50c9ca9fb60b98cd494 (patch) | |
tree | e9e0997ff66575ac3faa75a94d2586464e895d67 /conf.c | |
parent | f14a3eeebff6e0a378b38629bc1202af7e74b420 (diff) | |
download | cwm-8b3cd2243acdd75581b9d50c9ca9fb60b98cd494.tar.gz cwm-8b3cd2243acdd75581b9d50c9ca9fb60b98cd494.tar.xz cwm-8b3cd2243acdd75581b9d50c9ca9fb60b98cd494.zip |
Add a "restart wm" function. ok oga@
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/conf.c b/conf.c index 0dc5ed7..3e1edcf 100644 --- a/conf.c +++ b/conf.c @@ -185,6 +185,7 @@ conf_setup(struct conf *c) conf_bindname(c, "CM-Return", "terminal"); conf_bindname(c, "CM-Delete", "lock"); conf_bindname(c, "M-question", "exec"); + conf_bindname(c, "CM-q", "exec_wm"); conf_bindname(c, "M-period", "ssh"); conf_bindname(c, "M-Return", "hide"); conf_bindname(c, "M-Down", "lower"); @@ -373,7 +374,8 @@ struct { { "prevgroup", kbfunc_client_prevgroup, 0, 0 }, { "maximize", kbfunc_client_maximize, KBFLAG_NEEDCLIENT, 0 }, { "vmaximize", kbfunc_client_vmaximize, KBFLAG_NEEDCLIENT, 0 }, - { "exec", kbfunc_exec, 0, 0 }, + { "exec", kbfunc_exec, 0, CWM_EXEC_PROGRAM }, + { "exec_wm", kbfunc_exec, 0, CWM_EXEC_WM }, { "ssh", kbfunc_ssh, 0, 0 }, { "terminal", kbfunc_term, 0, 0 }, { "lock", kbfunc_lock, 0, 0 }, |