rosenrot/config.h

30 lines
1.1 KiB
C
Raw Normal View History

2022-05-09 21:03:14 +00:00
#pragma once
2022-05-10 17:52:56 +00:00
#include "keyconf.h"
2022-05-09 21:03:14 +00:00
static const int dark_mode = 1;
2022-05-13 12:08:29 +00:00
// static const char *cachedir = "/home/{user}/.cache/rose/";
2022-05-10 17:52:56 +00:00
static const char *cachedir = "/home/fenze/.cache/rose/";
2022-05-09 21:03:14 +00:00
static const char *homepage = "https://duckduckgo.com";
2022-05-10 17:52:56 +00:00
#define MODKEY GDK_CONTROL_MASK
static Key keys[] = {
2022-05-13 12:08:29 +00:00
{ 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 },
{ MODSHIFT, GDK_KEY_K, zoomin },
{ MODSHIFT, GDK_KEY_J, zoomout },
{ MODSHIFT, 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 },
{ MODSHIFT, GDK_KEY_N, findprev },
{ MODKEY, GDK_KEY_r, reload },
{ MODSHIFT, GDK_KEY_R, reloadforce },
{ 0, GDK_KEY_F11, fullscreen }
2022-05-10 17:52:56 +00:00
};