aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-web.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init/ycp-web.el')
-rw-r--r--emacs/.emacs.d/init/ycp-web.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init/ycp-web.el b/emacs/.emacs.d/init/ycp-web.el
index 6f74966..2a56f95 100644
--- a/emacs/.emacs.d/init/ycp-web.el
+++ b/emacs/.emacs.d/init/ycp-web.el
@@ -40,7 +40,7 @@
(:install t)
(require 'luwak-org)
(require 'my-utils)
- (setq luwak-url-rewrite-function 'my-rewrite-url)
+ (setq luwak-url-rewrite-function 'url-rw)
(setq luwak-tor-switch t)
)
@@ -162,9 +162,13 @@
:match "\\<fbclid="
:actions ((remove-query "fbclid")))
(:name twitter-to-nitter
- :description "Twitter to a random nitter instance."
+ :description "Xitter to a random nitter instance."
:match (concat url-rw-www-re (rx "twitter.com"))
:actions ((replace-random-host my-nitter-hosts)))
+ (:name twitter-to-nitter
+ :description "Xitter to a random nitter instance."
+ :match (concat url-rw-www-re (rx "x.com"))
+ :actions ((replace-random-host my-nitter-hosts)))
(:name youtube-to-invidious
:description "YouTube to a random invidious instance."
:match (concat url-rw-www-re (rx (or "youtube.com"