diff options
author | NunoSempere <nuno.sempere@protonmail.com> | 2023-05-05 19:42:19 -0400 |
---|---|---|
committer | NunoSempere <nuno.sempere@protonmail.com> | 2023-05-05 19:42:19 -0400 |
commit | 230f472e3a8736d01ec88a7a78d99dad7664313e (patch) | |
tree | 16b3098def5edfcd534563c0727945905531d649 | |
parent | 5331760a833a6f39c4d3b128d7dab21aaeab861e (diff) |
tweak: try ignoring twitter
-rw-r--r-- | plugins/libre_redirect/libre_redirect.c | 4 | ||||
-rwxr-xr-x | user-scripts/ubuntu-20.04/rose-GIO_MODULE_DIR.desktop | 9 | ||||
-rwxr-xr-x | user-scripts/ubuntu-20.04/rose.desktop | 2 | ||||
-rwxr-xr-x | user-scripts/ubuntu-20.04/rose.sh | 3 |
4 files changed, 15 insertions, 3 deletions
diff --git a/plugins/libre_redirect/libre_redirect.c b/plugins/libre_redirect/libre_redirect.c index 07740b8..b8d15c5 100644 --- a/plugins/libre_redirect/libre_redirect.c +++ b/plugins/libre_redirect/libre_redirect.c @@ -42,7 +42,7 @@ int libre_redirect(const char* uri, char* output) "https://medium.com", "https://translate.google.com", "https://www.bloomberg.com", - "https://twitter.com" + // "https://twitter.com" }; char* alternatives[] = { @@ -52,7 +52,7 @@ int libre_redirect(const char* uri, char* output) "https://scribe.rip", "https://simplytranslate.org/", "https://archive.is/https://www.bloomberg.com", - "https://nitter.net" + // "https://nitter.net" }; len = sizeof(annoying_sites) / sizeof(annoying_sites[0]); diff --git a/user-scripts/ubuntu-20.04/rose-GIO_MODULE_DIR.desktop b/user-scripts/ubuntu-20.04/rose-GIO_MODULE_DIR.desktop new file mode 100755 index 0000000..24b1dc0 --- /dev/null +++ b/user-scripts/ubuntu-20.04/rose-GIO_MODULE_DIR.desktop @@ -0,0 +1,9 @@ +#!/usr/bin/env xdg-open +[Desktop Entry] +Version=1.0 +Type=Application +Terminal=false +Exec=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose.sh %u +Name=Rose +Comment=Minimalistic browser +Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png diff --git a/user-scripts/ubuntu-20.04/rose.desktop b/user-scripts/ubuntu-20.04/rose.desktop index 80a5176..4959517 100755 --- a/user-scripts/ubuntu-20.04/rose.desktop +++ b/user-scripts/ubuntu-20.04/rose.desktop @@ -3,7 +3,7 @@ Version=1.0 Type=Application Terminal=false -Exec= /usr/bin/rose %u +Exec=/bin/rose %u Name=Rose Comment=Minimalistic browser Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png diff --git a/user-scripts/ubuntu-20.04/rose.sh b/user-scripts/ubuntu-20.04/rose.sh new file mode 100755 index 0000000..62baac9 --- /dev/null +++ b/user-scripts/ubuntu-20.04/rose.sh @@ -0,0 +1,3 @@ +#!/bin/sh +GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/ /bin/rose "$1" + |