From 4784a0ad26df383d92a4fd23ed6f2360cb0a1214 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 20 Jun 2023 08:30:36 -0600 Subject: changes to protonmail style; semicolon to hide bar. --- config.h | 2 +- plugins/style/style.c | 2 +- plugins/style/style.h | 2 +- plugins/style/style.js | 3 +++ rose | Bin 47896 -> 47936 bytes 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 623568d..d5046e8 100644 --- a/config.h +++ b/config.h @@ -68,7 +68,7 @@ static struct { { CTRL, KEY(w), close_tab }, { 0x0, KEY(F11), toggle_fullscreen }, { CTRL, KEY(l), show_searchbar }, - { CTRL, KEY(j), hide_bar }, + { CTRL, KEY(semicolon), hide_bar }, { CTRL, KEY(f), show_finder }, { CTRL, KEY(n), finder_next }, { CTRL | SFT, KEY(N), finder_prev }, diff --git a/plugins/style/style.c b/plugins/style/style.c index 97e5bf9..6d2efa9 100644 --- a/plugins/style/style.c +++ b/plugins/style/style.c @@ -1,7 +1,7 @@ #include #include #include -#define STYLE_N 3943 + 1 +#define STYLE_N 3986 + 1 void read_style_js(char* string) { diff --git a/plugins/style/style.h b/plugins/style/style.h index 5238b47..c9dfed2 100644 --- a/plugins/style/style.h +++ b/plugins/style/style.h @@ -1,7 +1,7 @@ #ifndef STYLE #define STYLE -#define STYLE_N 3943 + 1 +#define STYLE_N 3986 + 1 void read_style_js(char* string); diff --git a/plugins/style/style.js b/plugins/style/style.js index 876c345..13bb7e6 100644 --- a/plugins/style/style.js +++ b/plugins/style/style.js @@ -27,6 +27,7 @@ if (document.domain == "forum.effectivealtruism.org"){ if (document.domain == "mail.proton.me" ){ styles = ` + /* .item-container-row.read, .item-container.read { background-color: white; } @@ -36,6 +37,8 @@ if (document.domain == "mail.proton.me" ){ .selection .item-container-row.item-is-selected, .item-container.item-is-selected { background-color: var(--selection-background-color) !important; } + zoom: 0.625 !important; + */ ` } if (document.domain == "forum.nunosempere.com" ){ diff --git a/rose b/rose index 1deb55f..915b680 100755 Binary files a/rose and b/rose differ -- cgit v1.2.3