From 230f472e3a8736d01ec88a7a78d99dad7664313e Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Fri, 5 May 2023 19:42:19 -0400 Subject: tweak: try ignoring twitter --- plugins/libre_redirect/libre_redirect.c | 4 ++-- user-scripts/ubuntu-20.04/rose-GIO_MODULE_DIR.desktop | 9 +++++++++ user-scripts/ubuntu-20.04/rose.desktop | 2 +- user-scripts/ubuntu-20.04/rose.sh | 3 +++ 4 files changed, 15 insertions(+), 3 deletions(-) create mode 100755 user-scripts/ubuntu-20.04/rose-GIO_MODULE_DIR.desktop create mode 100755 user-scripts/ubuntu-20.04/rose.sh 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" + -- cgit v1.2.3