From b56989f8fbfa6ab32e1fa8f54c0d03ff924c7308 Mon Sep 17 00:00:00 2001 From: baskerville Date: Thu, 19 Jul 2012 12:28:44 +0200 Subject: New commands: fit to the window's height/width --- config.def.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 1116602..49dac49 100644 --- a/config.def.h +++ b/config.def.h @@ -108,7 +108,9 @@ static const keymap_t keys[] = { { false, XK_minus, i_zoom, (arg_t) -1 }, { false, XK_KP_Subtract, i_zoom, (arg_t) -1 }, { false, XK_equal, i_set_zoom, (arg_t) 100 }, - { false, XK_w, i_fit_to_win, (arg_t) None }, + { false, XK_w, i_fit_to_win, (arg_t) SCALE_FIT }, + { false, XK_e, i_fit_to_win, (arg_t) SCALE_WIDTH }, + { false, XK_E, i_fit_to_win, (arg_t) SCALE_HEIGHT }, { false, XK_W, i_fit_to_img, (arg_t) None }, { false, XK_less, i_rotate, (arg_t) DIR_LEFT }, -- cgit v1.2.3