diff options
| author | Arslaan Pathan <[email protected]> | 2026-03-26 10:14:21 +1300 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-03-26 10:14:21 +1300 |
| commit | cd94bcccdd366bc1e42688ef68428b3c4366d4c8 (patch) | |
| tree | 90f1dea0fb3fc5c1695bf6eb4c963044f6540b9b /config.h | |
| download | cinnamon-browser-cd94bcccdd366bc1e42688ef68428b3c4366d4c8.tar.xz cinnamon-browser-cd94bcccdd366bc1e42688ef68428b3c4366d4c8.zip | |
Initial commit
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 35 |
1 files changed, 35 insertions, 0 deletions
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[] = { + { "<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 |
