summary refs log tree commit diff
path: root/.config/tridactyl
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-09-27 17:38:39 +0200
committerRobert Günzler <r@gnzler.io>2026-09-27 17:38:39 +0200
commit0860db73ae6fd9a6f6347219d820bf026a6b8b91 (patch)
tree11318c3670d1c32c5aa0bf404c22fba3bf63fc53 /.config/tridactyl
parent4e34cbf9673aeaba252e01df554a0d204e83c5e2 (diff)
downloaddotfiles-master.tar.gz
Automated-commit-by: dots
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
-rw-r--r--.config/tridactyl/themes/r.css4
-rw-r--r--.config/tridactyl/tridactylrc9
-rw-r--r--.config/tridactyl/tridactylrc.default2
3 files changed, 10 insertions, 5 deletions
diff --git a/.config/tridactyl/themes/r.css b/.config/tridactyl/themes/r.css
index 05b47a6..b2d56a4 100644
--- a/.config/tridactyl/themes/r.css
+++ b/.config/tridactyl/themes/r.css
@@ -21,11 +21,11 @@
     --tridactyl-of-fg: #fce19f;
     --tridactyl-of-bg: var(--tridactyl-bg);
 
-    --tridactyl-hintspan-fg: #f9f9fa;
+    --tridactyl-hintspan-fg: var(--tridactyl-bg);
     --tridactyl-hintspan-bg: rgb(185, 142, 255);
 
     --tridactyl-hint-fg: var(--tridactyl-hintspan-fg);
-    --tridactyl-hint-bg: rgba(185, 142, 255, 0.15);
+    --tridactyl-hint-bg: color-mix(in srgb, var(--tridactyl-hintspan-bg) 33%, transparent);
     --tridactyl-hint-outline: 1px solid var(--tridactyl-hintspan-bg);
 
     --tridactyl-hint-active-fg: var(--tridactyl-hint-fg);
diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc
index 526b7eb..d74d7fa 100644
--- a/.config/tridactyl/tridactylrc
+++ b/.config/tridactyl/tridactylrc
@@ -21,19 +21,22 @@ unbind <C-f>
 unbind <C-a>
 unbind --mode=ex <C-a> " select all in cmdline
 unbind --mode=browser <C-,>
+unbind <A-o>
 
 bind n findnext 1
 bind N findnext -1
 
 " hint: mpv/video
-set exaliases.mpvsafe js -p tri.excmds.shellescape(JS_ARG).then(u => tri.excmds.exclaim_quiet(`play-mpv ${u}`))
+set exaliases.mpvsafe js -p tri.excmds.shellescape(JS_ARG).then(u => tri.excmds.exclaim_quiet(`play-mpv '${u}'`))
 bind gv composite get_current_url | mpvsafe
 bind yv composite getclip | mpvsafe
 bind ;v hint -W mpvsafe
 
-"bind ;e hint -hW js -p tri.excmds.exclaim_quiet(`${tri.config.get('editorcmd')} /tmp/tridactl.${document.location.hostname}.txt '+normal!i${JS_ARG}'`)
+alias editor_rm composite editor | jsb -p tri.native.run(`rm -f '${JS_ARG[0]}'`)
+bind --mode=insert <C-i> editor_rm
+bind --mode=input <C-i> editor_rm
 
-set exaliases.imgsafe js -p tri.excmds.shellescape(JS_ARG).then(u => tri.excmds.exclaim_quiet(`fyi 'tridactyl::mvi' ${u} && mvi ${u}`))
+set exaliases.imgsafe mpvsafe
 bind ;i composite hint -Jpipe img | js -p JS_ARG.src | imgsafe
 
 bind gp composite get_current_url | winopen -popup
diff --git a/.config/tridactyl/tridactylrc.default b/.config/tridactyl/tridactylrc.default
index e505eec..7eb10cb 100644
--- a/.config/tridactyl/tridactylrc.default
+++ b/.config/tridactyl/tridactylrc.default
@@ -36,3 +36,5 @@ autocontain -s reddit\.com weeb
 autocontain -s kitsu\.app weeb
 autocontain -s trakt\.tv weeb
 autocontain -s anilist\.co weeb
+
+autocontain -s instagram\.com meta