From cd94bcccdd366bc1e42688ef68428b3c4366d4c8 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Thu, 26 Mar 2026 10:14:21 +1300 Subject: Initial commit --- config.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h new file mode 100644 index 0000000..08f692d --- /dev/null +++ b/config.h @@ -0,0 +1,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[] = { + { "", ":tab_open" }, + { "d", ":tab_close" }, + { "o", ":commandline_show \":open\"" }, + { "i", ":mode insert" }, + { "", ":tab_select 1" }, + { "", ":tab_select 2" }, + { "", ":tab_select 3" }, + { "", ":tab_select 4" }, + { "", ":tab_select 5" }, + { "", ":tab_select 6" }, + { "", ":tab_select 7" }, + { "", ":tab_select 8" }, + { "", ":tab_select 9" }, + { "", ":tab_select 10" }, +}; + +#endif -- cgit v1.2.3