reworded misdiagnosed Espanso issue, added another redirection.

This commit is contained in:
NunoSempere 2023-07-12 14:44:56 +02:00
parent d17fb92bb6
commit 0253c5e80a
4 changed files with 5 additions and 3 deletions

View File

@ -67,7 +67,7 @@ I just found out that you can inspect a GTK application with the GTK explorer if
### Known bugs/gotchas. ### Known bugs/gotchas.
- [ ] Doesn't work with when Spanish is selected as the language, for some reason. - [x] ~~Doesn't work with when Spanish is selected as the language, for some reason~~ => Previously misdiagnosed. The real issue was that it freezes when interacting with [Espanso](https://espanso.org/) substitutions, which I had set-up automatically on my machine when using words containing an ñ, like my own name, Nuño.
- [ ] At some point, I tried to install libsoup-3 and borked some unknown installation option/paths. So now I need to run rose with `GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/ /bin/rose` (or put `export GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/` in my .bashrc). This won't affect new users though, just double checked on a fresh machine. - [ ] At some point, I tried to install libsoup-3 and borked some unknown installation option/paths. So now I need to run rose with `GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/ /bin/rose` (or put `export GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/` in my .bashrc). This won't affect new users though, just double checked on a fresh machine.
- [ ] By default the searchbar is pretty gigantic. I've made this so because I'm a bit myopic, but also work with my laptop in a laptop stand. Anyways, if you are a more normal person you can change this in the style.css. - [ ] By default the searchbar is pretty gigantic. I've made this so because I'm a bit myopic, but also work with my laptop in a laptop stand. Anyways, if you are a more normal person you can change this in the style.css.
- [ ] The style.css usage isn't updated until installation. This is because by default rose uses the theme located in /usr/share/themes/rose/style.css, and that file isn't updated until make install. - [ ] The style.css usage isn't updated until installation. This is because by default rose uses the theme located in /usr/share/themes/rose/style.css, and that file isn't updated until make install.

View File

@ -5,7 +5,7 @@
#include "str_init.h" #include "str_init.h"
#include "str_replace_start.h" #include "str_replace_start.h"
#define LIBRE_N 19 #define LIBRE_N 50
/* Uncomment for debug */ /* Uncomment for debug */
/* #define DEBUG */ /* #define DEBUG */
@ -37,6 +37,7 @@ int libre_redirect(const char* uri, char* output)
"https://translate.google.com", "https://translate.google.com",
"https://www.bloomberg.com", "https://www.bloomberg.com",
"https://www.royalroad.com", "https://www.royalroad.com",
"https://archive.org",
// "https://twitter.com" // "https://twitter.com"
}; };
@ -48,6 +49,7 @@ int libre_redirect(const char* uri, char* output)
"https://translate.riverside.rocks/", "https://translate.riverside.rocks/",
"https://archive.is/https://www.bloomberg.com", "https://archive.is/https://www.bloomberg.com",
"https://royalread.nunosempere.com", "https://royalread.nunosempere.com",
"https://wayback.nunosempere.com",
// "https://nitter.net" // "https://nitter.net"
}; };

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#define LIBRE_N 19 #define LIBRE_N 50
int libre_redirect(const char* uri, char* uri_filtered); int libre_redirect(const char* uri, char* uri_filtered);
void str_init(char* str, int n); void str_init(char* str, int n);

BIN
rose

Binary file not shown.