From 99d16fa506a26f4a390f5e586235e7db410bd210 Mon Sep 17 00:00:00 2001 From: bellrise Date: Mon, 16 May 2022 11:04:41 +0200 Subject: [PATCH] config: Restore config.def.h file --- config.def.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 config.def.h diff --git a/config.def.h b/config.def.h new file mode 100644 index 0000000..81ac676 --- /dev/null +++ b/config.def.h @@ -0,0 +1,35 @@ +#include "keyconf.h" + +static const char *options[] = { + [CACHE] = DEFAULT, + [HOMEPAGE] = DEFAULT, +}; + +static int appearance[] = { + [HEIGHT] = DEFAULT, + [WIDTH] = DEFAULT, + [DARKMODE] = TRUE +}; + +static const Key keys[] = { + { MODKEY, GDK_KEY_h, goback }, + { MODKEY, GDK_KEY_l, goforward }, + { MODKEY, GDK_KEY_y, copy_url }, + { MODKEY, GDK_KEY_p, paste_url }, + { MODKEY, GDK_KEY_e, search }, + { MODSFT, GDK_KEY_K, zoomin }, + { MODSFT, GDK_KEY_J, zoomout }, + { MODSFT, GDK_KEY_Q, zoomreset }, + { MODKEY, GDK_KEY_i, inspector }, + { MODKEY, GDK_KEY_j, down }, + { MODKEY, GDK_KEY_k, up }, + { MODKEY, GDK_KEY_f, find }, + { MODKEY, GDK_KEY_n, findnext }, + { MODSFT, GDK_KEY_N, findprev }, + { MODKEY, GDK_KEY_r, reload }, + { MODSFT, GDK_KEY_R, reloadforce }, + { NOMODK, GDK_KEY_F11, fullscreen }, + { MODSFT, GDK_KEY_H, history }, + { MODKEY, GDK_KEY_g, gotop }, + { MODSFT, GDK_KEY_G, gobottom } +};