From a2f5a864bf822dfb7b39035c256464bfb6a2b0f6 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Wed, 22 Nov 2023 20:41:21 +0000 Subject: [PATCH] more twitter tweaks --- config.h | 2 +- plugins/style/style.c | 2 +- plugins/style/style.h | 2 +- plugins/style/style.js | 3 +++ rose | Bin 43280 -> 43280 bytes 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index a542110..bcb8000 100644 --- a/config.h +++ b/config.h @@ -19,7 +19,7 @@ #define WIDTH 1920 // 960 for half-width, 1920 for full width #define HEIGHT 1080 -#define SEARCH_BAR_SIZE 500 +#define SEARCH_BAR_SIZE 1000 #define KEY(x) GDK_KEY_##x #define ZOOM 1.6 /* Starting zoom level.*/ #define ZOOM_VAL .1 /* Zooming value in zoomin/zoomout functions */ diff --git a/plugins/style/style.c b/plugins/style/style.c index 147cd11..baaaaa8 100644 --- a/plugins/style/style.c +++ b/plugins/style/style.c @@ -1,7 +1,7 @@ #include #include #include -#define STYLE_N 6765 + 100 +#define STYLE_N 6715 + 1000 void read_style_js(char* string) { diff --git a/plugins/style/style.h b/plugins/style/style.h index 0a3978d..0e7fb5d 100644 --- a/plugins/style/style.h +++ b/plugins/style/style.h @@ -1,7 +1,7 @@ #ifndef STYLE #define STYLE -#define STYLE_N 6765 + 100 +#define STYLE_N 6715 + 1000 void read_style_js(char* string); diff --git a/plugins/style/style.js b/plugins/style/style.js index e93a307..4ec3e86 100644 --- a/plugins/style/style.js +++ b/plugins/style/style.js @@ -96,6 +96,9 @@ if (document.domain == "twitter.com") { [aria-label^="Timeline: Conversation"]{ margin-left: 145px; } + [data-testid^="DMDrawer"]{ + display: none; + } /* Delete a few unused or annoying elements */ [aria-label^="Verified Orgs"] { diff --git a/rose b/rose index 752861c187a4d1c25675bb1ca9667e0462a180ec..4876a3539f0c81dc2e5e1965c4f584cdba3bbd7c 100755 GIT binary patch delta 66 zcmbPmiD|+mrVSa)BF`Bo-P>dlZt1LX><#n!dd^*iO}?9Jm>0S+smM*1_woW#o3p*1 Tv4iN~AVUtO7tEX6qPqM5Z%-J6 delta 66 zcmbPmiD|+mrVSa)BFz)6rp4WyI{EbKsJe;j30x07<^OE1VP5FQbV+Kmyq6b{+MMn6 Uj2%P=2N`lOePP_(7S-hk0K&%`VE_OC