summaryrefslogtreecommitdiff
path: root/surf/config.h
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-04-29 16:10:23 -0500
committerstkhan <personal@slickd.xyz>2022-04-29 16:10:23 -0500
commitd4b3ef6f2d1aa93f2e73f371f49efc78d712db45 (patch)
tree22f7ce4972e3838f90783c588217a09d3a502400 /surf/config.h
parented7f420ff0f7fd71b0ed36ace22deb7f7c41e0e0 (diff)
Updated surf, new theme
Diffstat (limited to 'surf/config.h')
-rw-r--r--surf/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/surf/config.h b/surf/config.h
index 60c1bb0..4c824b1 100644
--- a/surf/config.h
+++ b/surf/config.h
@@ -24,6 +24,7 @@ static Parameter defconfig[ParameterLast] = {
[CaretBrowsing] = { { .i = 0 }, },
[CookiePolicies] = { { .v = "@Aa" }, },
[DefaultCharset] = { { .v = "UTF-8" }, },
+ [DarkMode] = { { .i = 0 } },
[DiskCache] = { { .i = 1 }, },
[DNSPrefetch] = { { .i = 0 }, },
[Ephemeral] = { { .i = 0 }, },
@@ -124,6 +125,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
static SiteSpecific styles[] = {
/* regexp file in $styledir */
{ ".*", "default.css" },
+ { "www.duckduckgo.com*", "ddg.css" },
};
/* certificates */
@@ -194,6 +196,7 @@ static Key keys[] = {
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_s, toggle, { .i = JavaScript } },
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_i, toggle, { .i = LoadImages } },
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_b, toggle, { .i = ScrollBars } },
+ { MODKEY|GDK_SHIFT_MASK, GDK_KEY_d, toggle, { .i = DarkMode } },
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_t, toggle, { .i = StrictTLS } },
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_m, toggle, { .i = Style } },
};