diff options
Diffstat (limited to '.config/tridactyl')
| -rw-r--r-- | .config/tridactyl/themes/r.css | 4 | ||||
| -rw-r--r-- | .config/tridactyl/tridactylrc | 9 | ||||
| -rw-r--r-- | .config/tridactyl/tridactylrc.default | 2 |
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 |