30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
#pragma once
|
|
#include "keyconf.h"
|
|
|
|
static const int dark_mode = 1;
|
|
// static const char *cachedir = "/home/{user}/.cache/rose/";
|
|
static const char *cachedir = "/home/fenze/.cache/rose/";
|
|
static const char *homepage = "https://duckduckgo.com";
|
|
|
|
#define MODKEY GDK_CONTROL_MASK
|
|
|
|
static 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 },
|
|
{ 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 }
|
|
};
|