From 28a28b491dae0bbd1d1ddf3a4f1fa1ac623bdc96 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sun, 4 Jun 2023 19:11:45 -0600 Subject: [PATCH] tweaks, add private royalroad frontend. --- README.md | 1 + config.h | 2 +- plugins/libre_redirect/libre_redirect.c | 2 ++ rose | Bin 47864 -> 47864 bytes 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fa7adfa..7af4db8 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ I just found out that you can inspect a GTK application with the GTK explorer if - [ ] Figure out better way to have plugins - [ ] Double check newtab/next-tab behavior - [ ] Document creating new applications, e.g., as in [Asana for Linux](https://git.nunosempere.com/NunoSempere/asana-for-linux) +- [ ] Add list of similar projects: #### Maintenance diff --git a/config.h b/config.h index d8cb22d..524855f 100644 --- a/config.h +++ b/config.h @@ -13,7 +13,7 @@ #define HOME ROSE_HOMEPAGE ? "file:///home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png" : "https://search.nunosempere.com/" #define CACHE_DIR "/home/loki/.cache/rose" -#define WIDTH 1920 // 960 for half-width, 1920 for full width +#define WIDTH 960 // 960 for half-width, 1920 for full width #define HEIGHT 1080 #define SEARCH_BAR_SIZE 1200 #define KEY(x) GDK_KEY_##x diff --git a/plugins/libre_redirect/libre_redirect.c b/plugins/libre_redirect/libre_redirect.c index 5f384d9..210da9e 100644 --- a/plugins/libre_redirect/libre_redirect.c +++ b/plugins/libre_redirect/libre_redirect.c @@ -36,6 +36,7 @@ int libre_redirect(const char* uri, char* output) "https://medium.com", "https://translate.google.com", "https://www.bloomberg.com", + "https://royalroad.com", // "https://twitter.com" }; @@ -46,6 +47,7 @@ int libre_redirect(const char* uri, char* output) "https://scribe.rip", "https://translate.riverside.rocks/", "https://archive.is/https://www.bloomberg.com", + "https://royalread.nunosempere.com", // "https://nitter.net" }; diff --git a/rose b/rose index 3a4cce035fd1594ad8006227b2055b2e8b8a0cb0..1d1b2a04398f8b10e2ade5a0ef3bc6166efba6a5 100755 GIT binary patch delta 43 zcmV+`0M!5Z^#b_y0