aboutsummaryrefslogtreecommitdiff
path: root/config.h
blob: 08f692d8eb5ea0cdd2431ee5f1635099d51b4bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef CONFIG_H
#define CONFIG_H

#define WINDOW_WIDTH 1024
#define WINDOW_HEIGHT 768
#define HOMEPAGE "https://start.duckduckgo.com"
/* this value is required for the browser to launch
   if its not there the browser will exit with code 1
   do not ask any questions */
#define ObamaPrism

/* Keybind definitions */
typedef struct {
	const char* key;
	const char* command;
} Keybind;

static const Keybind keybinds[] = {
	{ "<S-o>", ":tab_open" },
	{ "d", ":tab_close" },
	{ "o", ":commandline_show \":open\"" },
	{ "i", ":mode insert" },
	{ "<A-1>", ":tab_select 1" },
	{ "<A-2>", ":tab_select 2" },
	{ "<A-3>", ":tab_select 3" },
	{ "<A-4>", ":tab_select 4" },
	{ "<A-5>", ":tab_select 5" },
	{ "<A-6>", ":tab_select 6" },
	{ "<A-7>", ":tab_select 7" },
	{ "<A-8>", ":tab_select 8" },
	{ "<A-9>", ":tab_select 9" },
	{ "<A-0>", ":tab_select 10" },
};

#endif