fixup! Merge branch 'master' of github.com:mini-rose/rose
This commit is contained in:
parent
556da06eff
commit
45757d0fb1
35
config.def.h
35
config.def.h
|
@ -1,35 +0,0 @@
|
|||
#include "keyconf.h"
|
||||
|
||||
static const char *options[] = {
|
||||
[CACHE] = DEFAULT, /* DEFAULT = "~/.cache/rose" */
|
||||
[HOMEPAGE] = DEFAULT, /* DEFAULT = "https://duckduckgo.com" */
|
||||
};
|
||||
|
||||
static int appearance[] = {
|
||||
[HEIGHT] = DEFAULT, /* DEFAULT = 720 */
|
||||
[WIDTH] = DEFAULT, /* DEFAULT = 1280 */
|
||||
[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 }
|
||||
};
|
|
@ -4,6 +4,7 @@
|
|||
#include <gdk/gdkkeysyms.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define CTRLKEY
|
||||
#define MODKEY GDK_CONTROL_MASK
|
||||
#define MODSFT 5
|
||||
#define NOMODK 0
|
||||
|
@ -18,13 +19,6 @@
|
|||
#define DARKMODE 2
|
||||
#define SCROLLBARS 3
|
||||
|
||||
<<<<<<< HEAD
|
||||
#define KEYBINDS static Key keys[]
|
||||
#define APPERANCE static int appearance[]
|
||||
#define OPTIONS static char *options[]
|
||||
=======
|
||||
>>>>>>> 1d622de7971b8439866dfb2873d0b33004437431
|
||||
|
||||
typedef struct {
|
||||
unsigned modkey;
|
||||
unsigned keycod;
|
||||
|
|
Loading…
Reference in New Issue
Block a user