⚡ tridactyl (styles and 🔨)
This commit is contained in:
298
.config/tridactyl/themes/dark-soft.css
Normal file
298
.config/tridactyl/themes/dark-soft.css
Normal file
@ -0,0 +1,298 @@
|
||||
/* stylelint-disable declaration-colon-space-after, scss/dollar-variable-colon-space-after */
|
||||
:root {
|
||||
--background-0: #1d2021;
|
||||
--background-1: #282828;
|
||||
--background-2: #32302f;
|
||||
--background-3: #3c3836;
|
||||
--background-4: #504945;
|
||||
--background-5: #665c54;
|
||||
--foreground-0: #665c54;
|
||||
--foreground-1: #bdae93;
|
||||
--foreground-2: #d5c4a1;
|
||||
--foreground-3: #ebdbb2;
|
||||
--foreground-4: #fbf1c7;
|
||||
--red: #ea6962;
|
||||
--orange: #e78a4e;
|
||||
--yellow: #d8a657;
|
||||
--green: #a9b665;
|
||||
--cyan: #89b482;
|
||||
--blue: #7daea3;
|
||||
--magenta: #d3869b;
|
||||
}
|
||||
|
||||
:root {
|
||||
--border-radius-0: 3px;
|
||||
--border-radius-1: 4px;
|
||||
--border-radius-2: 6px;
|
||||
--border-radius-3: 8px;
|
||||
--space-1: 4px;
|
||||
--space-2: 8px;
|
||||
--space-3: 12px;
|
||||
--shadow-0:
|
||||
0 0.1px 0.1px 0 rgb(0 0 0 / 35%),
|
||||
0 0.4px 0.5px -0.7px rgb(0 0 0 / 35%),
|
||||
0 1.1px 1.2px -1.5px rgb(0 0 0 / 25%),
|
||||
0 2.7px 3.2px -2px rgb(0 0 0 / 35%),
|
||||
0 -0.1px 1.2px 0 rgb(0 0 0 / 20%),
|
||||
0 0 3.5px -2.2px rgb(0 0 0 / 30%);
|
||||
--shadow-1:
|
||||
rgb(0 0 0 / 7%) 0 0.4px 0.5px 0,
|
||||
rgb(0 0 0 / 7%) 0 1.2px 1.3px -0.8px,
|
||||
rgb(0 0 0 / 7%) 0 2.9px 3.3px -1.7px,
|
||||
rgb(0 0 0 / 7%) 0.1px 6.9px 7.8px -2.5px,
|
||||
rgb(0 0 0 / 10%) 0 0 7.8px -2.5px;
|
||||
--shadow-2:
|
||||
rgb(0 0 0 / 15%) 0 0.4px 0.5px 0,
|
||||
rgb(0 0 0 / 15%) 0 1.8px 2px -0.4px,
|
||||
rgb(0 0 0 / 15%) 0 3.3px 3.7px -0.7px,
|
||||
rgb(0 0 0 / 15%) 0.1px 5.3px 6px -1.1px,
|
||||
rgb(0 0 0 / 15%) 0.1px 8.4px 9.5px -1.4px,
|
||||
rgb(0 0 0 / 15%) 0.1px 13.1px 14.7px -1.8px,
|
||||
rgb(0 0 0 / 15%) 0.2px 19.9px 22.4px -2.1px,
|
||||
rgb(0 0 0 / 15%) 0.3px 29.3px 33px -2.5px,
|
||||
rgb(0 0 0 / 17.5%) 0 0 9.5px -1.4px;
|
||||
--font-family-sans:
|
||||
-apple-system,
|
||||
blinkmacsystemfont,
|
||||
"Open Sans",
|
||||
"Helvetica Neue",
|
||||
"Segoe UI",
|
||||
roboto,
|
||||
oxygen,
|
||||
ubuntu,
|
||||
cantarell,
|
||||
sans-serif;
|
||||
--font-family-mono:
|
||||
"Mono Lisa",
|
||||
sfmono-regular,
|
||||
"Source Code Pro",
|
||||
menlo,
|
||||
monaco,
|
||||
consolas,
|
||||
"Liberation Mono",
|
||||
monospace;
|
||||
--font-size-1: 10px;
|
||||
--font-size-2: 16px;
|
||||
--font-size-3: 20px;
|
||||
--font-weight-mono-normal: 400;
|
||||
--font-weight-sans-normal: 400;
|
||||
--font-weight-mono-semibold: 500;
|
||||
--font-weight-sans-semibold: 500;
|
||||
--font-weight-mono-bold: 600;
|
||||
--font-weight-sans-bold: 600;
|
||||
}
|
||||
|
||||
:root {
|
||||
--tridactyl-cmdl-font-size: var(--font-size-3);
|
||||
--tridactyl-header-font-size: var(--font-size-2);
|
||||
--tridactyl-cmdl-font-family: var(--font-family-mono);
|
||||
--tridactyl-cmplt-font-family: var(--font-family-mono);
|
||||
--tridactyl-header-font-weight: var(--font-weight-mono-semibold);
|
||||
--tridactyl-fg: var(--foreground-2);
|
||||
--tridactyl-bg: var(--background-2);
|
||||
--tridactyl-url-fg: var(--blue);
|
||||
--tridactyl-url-bg: var(--background-2);
|
||||
--tridactyl-highlight-box-bg: var(--green);
|
||||
--tridactyl-highlight-box-fg: var(--background-2);
|
||||
--tridactyl-photon-colours-accent-1: var(--blue);
|
||||
--tridactyl-hintspan-fg: var(--background-2) !important;
|
||||
--tridactyl-hintspan-bg: var(--cyan) !important;
|
||||
--tridactyl-hint-active-fg: none;
|
||||
--tridactyl-hint-active-bg: none;
|
||||
--tridactyl-hint-active-outline: none;
|
||||
--tridactyl-hint-bg: none;
|
||||
--tridactyl-hint-outline: none;
|
||||
}
|
||||
|
||||
span.TridactylHint {
|
||||
padding: 1px var(--space-1) 2px !important;
|
||||
border-radius: var(--border-radius-0) !important;
|
||||
font-family: var(--font-family-mono) !important;
|
||||
font-weight: var(--font-weight-mono-semibold) !important;
|
||||
box-shadow: var(--shadow-0) !important;
|
||||
animation: 3s linear 1s infinite running hint !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(1n) {
|
||||
background: #ea6962 !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(2n) {
|
||||
background: #e78a4e !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(3n) {
|
||||
background: #d8a657 !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(4n) {
|
||||
background: #a9b665 !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(5n) {
|
||||
background: #89b482 !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(6n) {
|
||||
background: #7daea3 !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(7n) {
|
||||
background: #d3869b !important;
|
||||
}
|
||||
|
||||
#trinewtab > img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.TridactylStatusIndicator {
|
||||
position: fixed !important;
|
||||
right: 5px !important;
|
||||
bottom: 0 !important;
|
||||
bottom: 5px !important;
|
||||
padding: 0.25rem 0.375rem !important;
|
||||
border: unset !important;
|
||||
background: var(--tridactyl-bg) !important;
|
||||
border-radius: var(--border-radius-1) !important;
|
||||
box-shadow: var(--shadow-1) !important;
|
||||
color: var(--yellow) !important;
|
||||
font-size: 0.75rem !important;
|
||||
font-weight: 500 !important;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
#cmdline_iframe {
|
||||
position: fixed !important;
|
||||
z-index: 2147483647 !important;
|
||||
top: 20% !important;
|
||||
bottom: unset;
|
||||
left: 10% !important;
|
||||
width: 80% !important;
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
.TridactylOwnNamespace > body {
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
padding: 3rem;
|
||||
}
|
||||
|
||||
#command-line-holder {
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
order: 1;
|
||||
background: var(--background-0);
|
||||
border-radius: 0;
|
||||
border-top-left-radius: var(--border-radius-3);
|
||||
border-top-right-radius: var(--border-radius-3);
|
||||
box-shadow: var(--shadow-2);
|
||||
color: var(--tridactyl-bg);
|
||||
opacity: 0.95;
|
||||
}
|
||||
#command-line-holder #tridactyl-colon {
|
||||
padding-left: 0.75rem;
|
||||
color: var(--foreground-1);
|
||||
font-size: 1.25rem;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
#tridactyl-input {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 1rem;
|
||||
padding-left: 0.25rem;
|
||||
background: transparent;
|
||||
color: var(--tridactyl-fg);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
#completions {
|
||||
--option-height: 1.4em;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
width: auto;
|
||||
order: 2;
|
||||
padding-bottom: 0.5rem;
|
||||
border-top: unset;
|
||||
background: var(--tridactyl-bg);
|
||||
border-radius: 0;
|
||||
border-bottom-left-radius: var(--border-radius-3);
|
||||
border-bottom-right-radius: var(--border-radius-3);
|
||||
box-shadow: var(--shadow-2);
|
||||
color: var(--tridactyl-fg);
|
||||
font-size: unset;
|
||||
opacity: 0.95;
|
||||
}
|
||||
#completions > div {
|
||||
min-height: auto;
|
||||
max-height: calc(20 * var(--option-height));
|
||||
}
|
||||
#completions .sectionHeader {
|
||||
padding: 0.5rem !important;
|
||||
padding-bottom: 0.2rem;
|
||||
padding-left: unset;
|
||||
border-bottom: unset;
|
||||
background: var(--background-1);
|
||||
font-weight: var(--font-weight-mono-semibold);
|
||||
}
|
||||
#completions table.optionContainer {
|
||||
padding-top: 0;
|
||||
padding-bottom: 1rem;
|
||||
border-spacing: 0;
|
||||
table-layout: fixed;
|
||||
}
|
||||
#completions table.optionContainer td {
|
||||
padding: 0.25rem 0.5rem;
|
||||
}
|
||||
#completions table.optionContainer td.content, #completions table.optionContainer td.documentation, #completions table.optionContainer td.title {
|
||||
font-family: var(--font-family-sans);
|
||||
font-weight: var(--font-weight-sans-normal);
|
||||
}
|
||||
#completions table.optionContainer td.title {
|
||||
width: 50%;
|
||||
font-weight: var(--font-weight-sans-semibold);
|
||||
}
|
||||
#completions table.optionContainer td.privatewindow, #completions table.optionContainer td.container {
|
||||
display: none;
|
||||
}
|
||||
#completions table.optionContainer td.prefix {
|
||||
color: var(--foreground-0);
|
||||
font-weight: var(--font-weight-mono-bold);
|
||||
}
|
||||
#completions table.optionContainer td.icon {
|
||||
position: relative;
|
||||
}
|
||||
#completions table.optionContainer td.icon img {
|
||||
filter: sepia(100%);
|
||||
}
|
||||
#completions .focused {
|
||||
background: var(--background-4);
|
||||
color: var(--foreground-3);
|
||||
}
|
||||
#completions .focused .excmd {
|
||||
color: var(--magenta);
|
||||
}
|
||||
#completions .focused .url {
|
||||
background: var(--background-4);
|
||||
color: var(--magenta);
|
||||
}
|
||||
#completions .BmarkCompletionSource {
|
||||
min-height: unset;
|
||||
max-height: unset;
|
||||
}
|
||||
#completions .BufferCompletionSource {
|
||||
min-height: unset;
|
||||
max-height: unset;
|
||||
}
|
||||
#completions .HistoryCompletionSource {
|
||||
min-height: unset;
|
||||
max-height: unset;
|
||||
}
|
||||
#completions .BufferCompletionSource tablecompletion-table {
|
||||
width: unset;
|
||||
border-spacing: unset;
|
||||
font-size: unset;
|
||||
table-layout: unset;
|
||||
}
|
||||
#completions .HistoryCompletionSource td.prefix {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=dark-soft.css.map */
|
133
.config/tridactyl/themes/rustmenu.css
Normal file
133
.config/tridactyl/themes/rustmenu.css
Normal file
@ -0,0 +1,133 @@
|
||||
:root {
|
||||
/* Generic */
|
||||
--tridactyl-font-family: Monospace;
|
||||
--tridactyl-font-size: 12pt;
|
||||
--tridactyl-bg: #141414;
|
||||
--tridactyl-highlight: #C25C3C;
|
||||
--tridactyl-focused-bg: #2F2F2F;
|
||||
--tridactyl-fg: #E0D3B3;
|
||||
--tridactyl-url: #4988BF;
|
||||
--tridactyl-hint-fg: #FF774D;
|
||||
|
||||
/* Hint character tags */
|
||||
--tridactyl-hintspan-font-family: var(--tridactyl-font-family);
|
||||
--tridactyl-hintspan-font-size: var(--tridactyl-font-size);
|
||||
--tridactyl-hintspan-font-weight: bold;
|
||||
--tridactyl-hintspan-fg: var(--tridactyl-hint-fg);
|
||||
--tridactyl-hintspan-bg: rgba(0, 0, 0, 0.7);
|
||||
--tridactyl-hintspan-border-color: black;
|
||||
--tridactyl-hintspan-border-width: 1px;
|
||||
--tridactyl-hintspan-border-style: solid;
|
||||
--tridactyl-hintspan-js-background: hsla(0, 0%, 65%);
|
||||
|
||||
/* Element highlights */
|
||||
--tridactyl-hint-active-fg: none;
|
||||
--tridactyl-hint-active-bg: none;
|
||||
--tridactyl-hint-active-outline: none;
|
||||
|
||||
--tridactyl-hint-bg: none;
|
||||
--tridactyl-hint-outline: 0px solid black;
|
||||
|
||||
/* :viewsource */
|
||||
--tridactyl-vs-bg: var(--tridactyl-bg);
|
||||
--tridactyl-vs-fg: var(--tridactyl-fg);
|
||||
--tridactyl-vs-font-family: var(--tridactyl-font-family);
|
||||
|
||||
/*commandline*/
|
||||
--tridactyl-cmdl-bg: var(--tridactyl-bg);
|
||||
--tridactyl-cmdl-fg: var(--tridactyl-fg);
|
||||
--tridactyl-font-size-cmdl: 1.30rem;
|
||||
--tridactyl-cmdl-line-height: 1.30em;
|
||||
--tridactyl-cmdl-font-family: var(--tridactyl-font-family);
|
||||
--tridactyl-cmdl-font-size: var(--tridactyl-font-size-cmdl);
|
||||
--tridactyl-cmdl-font-weight: 800;
|
||||
|
||||
/*completions*/
|
||||
--tridactyl-cmplt-option-height: 1.60em;
|
||||
--tridactyl-cmplt-fg: var(--tridactyl-fg);
|
||||
--tridactyl-cmplt-bg: var(--tridactyl-bg);
|
||||
--tridactyl-cmplt-font-size: var(--tridactyl-font-size);
|
||||
--tridactyl-cmplt-font-family: var(--tridactyl-font-family);
|
||||
|
||||
/*url style*/
|
||||
--tridactyl-url-text-decoration: none;
|
||||
--tridactyl-url-fg: var(--tridactyl-url);
|
||||
--tridactyl-url-bg: var(--tridactyl-bg);
|
||||
--tridactyl-url-cursor: pointer;
|
||||
}
|
||||
|
||||
.TridactylOwnNamespace body {
|
||||
max-height: 500px;
|
||||
min-height: 500px;
|
||||
}
|
||||
|
||||
:root #command-line-holder {
|
||||
order: 2;
|
||||
border-top: 1px solid black; /* cmdline top */
|
||||
background: var(--tridactyl-focused-bg);
|
||||
}
|
||||
:root #tridactyl-input {
|
||||
background: var(--tridactyl-focused-bg);
|
||||
}
|
||||
|
||||
:root #completions {
|
||||
max-height: 470px;
|
||||
min-height: 470px;
|
||||
font-weight: 200;
|
||||
}
|
||||
:root #completions .sectionHeader {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root #tridactyl-colon::before {
|
||||
content: " :";
|
||||
font-size: var(--tridactyl-font-size-cmdl);
|
||||
}
|
||||
|
||||
:root #completions > div {
|
||||
max-height: 500px;
|
||||
min-height: 500px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
:root #completions table {
|
||||
white-space: nowrap;
|
||||
-webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 97%, rgba(0,0,0,0));
|
||||
}
|
||||
|
||||
:root #completions table tr td.prefix,
|
||||
:root #completions table tr td.privatewindow,
|
||||
:root #completions table tr td.container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root #completions .focused,
|
||||
:root #completions .focused .url {
|
||||
background: var(--tridactyl-focused-bg);
|
||||
color: var(--tridactyl-highlight);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
:root #completions .SessionCompletionOption .extraInfo {
|
||||
color: var(--tridactyl-url);
|
||||
}
|
||||
|
||||
:root #completions table tr .title {
|
||||
padding-left: 5px !important;
|
||||
}
|
||||
|
||||
:root #cmdline_iframe {
|
||||
position: fixed !important;
|
||||
bottom: unset;
|
||||
/* opacity: 1; */
|
||||
top: 30% !important;
|
||||
left: 23% !important;
|
||||
width: 60% !important;
|
||||
z-index: 2147483647 !important;
|
||||
border: 1px solid black !important; /* around window */
|
||||
box-shadow: rgba(0, 0, 0, 0.8) 0px 0px 5px !important;
|
||||
}
|
||||
|
||||
:root #cmdline_iframe.cleanslate.hidden {
|
||||
display: none !important;
|
||||
}
|
119
.config/tridactyl/tridactylrc
Normal file
119
.config/tridactyl/tridactylrc
Normal file
@ -0,0 +1,119 @@
|
||||
""" Tridactyl config file | Jan Andrle | 2024-02-28
|
||||
" General Settings
|
||||
set configversion 2.0
|
||||
set theme dark
|
||||
set modeindicatorshowkeys true
|
||||
set modeindicatormodes.ignore false
|
||||
set modeindicator true
|
||||
set hintfiltermode simple
|
||||
set hintchars fsahjklgyuiopqwertnmzxcvb
|
||||
set smoothscroll true
|
||||
|
||||
unbind zI
|
||||
unbind zM
|
||||
unbind zO
|
||||
unbind zR
|
||||
unbind zi
|
||||
unbind zm
|
||||
unbind zo
|
||||
unbind zr
|
||||
unbind zz
|
||||
bind zt hint -z
|
||||
bind zz composite hint -z ; scrollpage -0.5
|
||||
bind zb composite hint -z ; scrollpage -0.95
|
||||
bind gm scrollto 42.5 x
|
||||
bind gM scrollto 42.5 x
|
||||
bind 0zo zoom 1
|
||||
bind zo zoom 0.1 true
|
||||
bind §zo zoom 0.5 true
|
||||
bind zO zoom -0.1 true
|
||||
bind §zO zoom -0.5 true
|
||||
bind §§h scrollpx -1000
|
||||
bind §h scrollpx -500
|
||||
bind §l scrollpx 500
|
||||
bind §§l scrollpx 1000
|
||||
|
||||
" /?*# … search collising with native ui + another problems
|
||||
" https://gist.github.com/BurntSushi/393546a65db38d57cedcfd72c6d89bf3#file-tridactylrc-L18
|
||||
unbind <c-f> " pgdown for scrolling
|
||||
bind gi hint -Jc input,textarea,[contenteditable="true"]
|
||||
|
||||
unbindurl ^https://www.youtube.com/* >>
|
||||
unbindurl ^https://www.youtube.com/* <<
|
||||
" see https://gist.github.com/jaandrle/031198ab5130deb903065138532cc066
|
||||
bindurl ^https://www.youtube.com/* ss fillcmdline open B: YT
|
||||
bindurl ^https://www.o2tv.cz/* ss fillcmdline open B: O2
|
||||
bindurl ^https://chatgpt.com/* ss fillcmdline open B: OPENAI
|
||||
|
||||
|
||||
command pauseVideos js Array.from(document.querySelectorAll("video")).forEach(el=> ( location.hostname!=="www.o2tv.cz" ? el.pause() : [ "Pauza" ].map(l=> document.querySelector(`[aria-label=${l}]`)).find(Boolean)?.dispatchEvent(new Event("click")) ))
|
||||
tri.controller.acceptExCmd(`tabopen -c pracovní https://gist.github.com/jaandrle/ff1de72c500557f401e190b4ec05aa62#${document.title.replace(/["':|\.,\?\!_]/g, '').replace(/ /g, '-').toLowerCase()}`)
|
||||
bind ůp js (v=> { if(!v) return; v.paused ? v.play() : tri.controller.acceptExCmd("pauseVideos"); })(document.querySelector("video"))
|
||||
bind ůP js (v=> { if(!v) return; v.playbackRate ? (v.playbackRate= 0) : (v.playbackRate= 1); })(document.querySelector("video"))
|
||||
bind ůl js (v=> { if(!v) return; v.currentTime+= 15 })(document.querySelector("video"))
|
||||
bind ůh js (v=> { if(!v) return; v.currentTime-= 15 })(document.querySelector("video"))
|
||||
bind ůL fillcmdline_notrail js document.querySelector("video").currentTime+= 15*30
|
||||
bind ůůl fillcmdline_notrail js document.querySelector("video").currentTime+= 15*30
|
||||
bind ůk js (v=> { if(!v) return; v.playbackRate+= 0.25 })(document.querySelector("video"))
|
||||
bind ůj js (v=> { if(!v) return; v.playbackRate-= 0.25 })(document.querySelector("video"))
|
||||
bind ů= js (v=> { if(!v) return; v.playbackRate= 1 })(document.querySelector("video"))
|
||||
bind ůG js (v=> { if(!v) return; v.play(); v.currentTime= v.duration-10; setTimeout(()=> tri.controller.acceptExCmd("pauseVideos"), 5000); })(document.querySelector("video"))
|
||||
|
||||
unbind --mode=normal d
|
||||
bind dd tabclose
|
||||
|
||||
unbind --mode=normal s
|
||||
bind st fillcmdline_notrail tab
|
||||
|
||||
" h keyboardlayoutoverrides … https://gistpreview.github.io/?324119c773fac31651f6422087b36804
|
||||
" set keyboardlayoutoverrides "Digit2: ;, Backquote: :"
|
||||
set keytranslatemap {"ě":";",";":":"}
|
||||
bindurl ^https://mail.centrum.cz/* ;; composite hint_focus ; js document.activeElement.dispatchEvent(new CustomEvent("mouseover"))
|
||||
bind --mode=normal ;gt hint -c [tabindex]
|
||||
|
||||
bind š tab #
|
||||
bind sš fillcmdline tab
|
||||
|
||||
" b→t→n to make more consistent with gn*
|
||||
unbind --mode=normal b
|
||||
unbind --mode=normal B
|
||||
bind --mode=normal t fillcmdline tab
|
||||
bind --mode=normal T fillcmdline taball
|
||||
bind --mode=normal n fillcmdline tabopen
|
||||
bind --mode=normal N current_url tabopen
|
||||
|
||||
bind -c fillcmdline recontain
|
||||
bind sc fillcmdline_notrail container
|
||||
|
||||
bind --mode=visual \t composite js "https://libretranslate.com/?source=auto&target=cs&q="+encodeURI(document.getSelection().toString()) | tabopen
|
||||
bind --mode=visual \T composite js "https://translate.google.com/?sl=auto&tl=cs&op=translate&text="+encodeURI(document.getSelection().toString()) | tabopen
|
||||
bind --mode=normal \t composite js "http://translate.google.com/translate?js=n&tl=cs&u="+encodeURI(location.href) | tabopen
|
||||
|
||||
bind gnk tabopen -c osobní https://keep.google.com/u/0/#NOTE/1UXE_BEihe2EexHwZqEYA2oSdILLxF74SPcaLFMStfIpMkWPnStWJDQqH5C1TryJld_dC
|
||||
bind gok open -c osobní https://keep.google.com/u/0/#NOTE/1UXE_BEihe2EexHwZqEYA2oSdILLxF74SPcaLFMStfIpMkWPnStWJDQqH5C1TryJld_dC
|
||||
bind gwk winopen -c osobní https://keep.google.com/u/0/#NOTE/1UXE_BEihe2EexHwZqEYA2oSdILLxF74SPcaLFMStfIpMkWPnStWJDQqH5C1TryJld_dC
|
||||
bind gnC tabopen -c osobní https://calendar.google.com
|
||||
bind goC open -c osobní https://calendar.google.com
|
||||
bind gwC winopen -c osobní https://calendar.google.com
|
||||
|
||||
" Sites (mails) notes using Github Gists
|
||||
bind sn js tri.controller.acceptExCmd(`tabopen -c pracovní https://gist.github.com/jaandrle/ff1de72c500557f401e190b4ec05aa62#${document.title.replace(/["':|\.,\?\!_]/g, '').replace(/ /g, '-').toLowerCase()}`)
|
||||
bind sN composite clipboard yankmd ; tabopen -c pracovní https://gist.github.com/jaandrle/ff1de72c500557f401e190b4ec05aa62/edit
|
||||
bindurl ^https://mail.centrum.cz/* sn js tri.controller.acceptExCmd(`tabopen -c pracovní https://gist.github.com/jaandrle/ff1de72c500557f401e190b4ec05aa62#${(new URLSearchParams(window.location.search)).get("msg")}`)
|
||||
bindurl ^https://mail.centrum.cz/* sN composite js tri.controller.acceptExCmd(`clipboard yank [${(new URLSearchParams(window.location.search)).get("msg")}](https://mail.centrum.cz/?msg=${(new URLSearchParams(window.location.search)).get("msg")})`) ; tabopen -c pracovní https://gist.github.com/jaandrle/ff1de72c500557f401e190b4ec05aa62/edit
|
||||
|
||||
alias hint_focus hint -;
|
||||
quickmark c moz-extension://616498c0-3916-4f0b-b0a9-ce01ecf2298d/popup.html
|
||||
|
||||
command mastodonUncoverAll composite hint_focus .scrollable ; js (onclick=document.createEvent("Events"), onclick.initEvent("click", true, false), Array.from(document.activeElement.getElementsByClassName("status__content__spoiler-link")).forEach(el=> el.dispatchEvent(onclick)))
|
||||
command mastodonRedirectHome js const parts = location.pathname.split('/'); if(parts.length===2) location.href= `https://fosstodon.org/${parts[1]}@${location.host}`; else location.href= `https://fosstodon.org/authorize_interaction?uri=${location.href}`;
|
||||
bind sm fillcmdline_notrail mastodon
|
||||
|
||||
command data_delall composite hint_focus * ; js document.activeElement.querySelectorAll("input").forEach(el=> el.checked=false)
|
||||
|
||||
command scrollblur js tri.scrolling.setCurrentFocus(document.documentElement || document.body)
|
||||
autocmd DocLoad https://user.centrum.cz/?url=http%3A%2F%2Fmail.centrum.cz open https://mail.centrum.cz/?fld=-666
|
||||
|
||||
" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl
|
||||
" vim: set filetype=tridactyl
|
||||
" vim: set ft=vim :
|
Reference in New Issue
Block a user