rosenrot/config.def.h
Lucien Cartier-Tilet 40aeb6bc59
Use config.def.h instead of config.h
Since config.h is destined to be modified by the end-user, I think it
is better to adopt what suckless usually does and move config.h to
config.def.h. This file is sort of a template from which the end-user
can build their own config.h that won’t be tracked by git.

If config.h doesn’t exist at compile-time, the makefile will
automatically copy it from the template.
2022-05-14 20:26:27 +02:00

36 lines
956 B
C

#include "keyconf.h"
OPTIONS {
[CACHE] = DEFAULT,
[HOMEPAGE] = DEFAULT,
};
APPERANCE {
[HEIGHT] = DEFAULT,
[WIDTH] = DEFAULT,
[DARKMODE] = TRUE
};
KEYBINDS {
{ 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 }
};