aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-06-20 08:30:36 -0600
committerNunoSempere <nuno.sempere@protonmail.com>2023-06-20 08:30:36 -0600
commit4784a0ad26df383d92a4fd23ed6f2360cb0a1214 (patch)
tree6eb491f0df4e3e9ad7365772d24d21525b4c7307
parent3beef82ca6af9c6648ef9bfd95878f85cbb90eb5 (diff)
changes to protonmail style; semicolon to hide bar.
-rw-r--r--config.h2
-rw-r--r--plugins/style/style.c2
-rw-r--r--plugins/style/style.h2
-rw-r--r--plugins/style/style.js3
-rwxr-xr-xrosebin47896 -> 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 <stdio.h>
#include <stdlib.h>
#include <string.h>
-#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
--- a/rose
+++ b/rose
Binary files differ