diff options
-rw-r--r-- | files/imv_config | 2 | ||||
-rw-r--r-- | src/imv.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/files/imv_config b/files/imv_config index d7f6438..5694390 100644 --- a/files/imv_config +++ b/files/imv_config @@ -87,7 +87,7 @@ o = zoom -1 x = remove f = fullscreen d = overlay -p = exec echo $imv_path +p = exec echo $imv_current_file c = center s = scaling_mode next a = zoom actual @@ -191,7 +191,7 @@ struct imv *imv_create(void) add_bind(imv, "<x>", "remove"); add_bind(imv, "<f>", "fullscreen"); add_bind(imv, "<d>", "overlay"); - add_bind(imv, "<p>", "exec echo $imv_path"); + add_bind(imv, "<p>", "exec echo $imv_current_file"); add_bind(imv, "<Equals>", "zoom 1"); add_bind(imv, "<Up>", "zoom 1"); add_bind(imv, "<+>", "zoom 1"); @@ -1076,7 +1076,7 @@ void command_exec(struct list *args, const char *argstr, void *data) { (void)args; struct imv *imv = data; - setenv("imv_path", imv_navigator_selection(imv->navigator), 1); + setenv("imv_current_file", imv_navigator_selection(imv->navigator), 1); system(argstr); } |