2022-03-02 04:32:07 +00:00
|
|
|
kitdl = 'spawn kitty fish -c "dl &&'
|
2021-01-28 21:23:04 +00:00
|
|
|
bind = {
|
|
|
|
'<Ctrl-q>': 'close',
|
|
|
|
'<Ctrl-r>': 'spawn -u readability',
|
|
|
|
'<Ctrl-w>': 'tab-close',
|
2022-03-21 03:12:23 +00:00
|
|
|
'<Ctrl-Shift-a>': 'ao3-first',
|
|
|
|
'<Ctrl-Shift-x>': 'ao3-latest',
|
2021-05-18 16:50:56 +00:00
|
|
|
'<Alt+f>' : 'config-cycle hints.chars qwerasdf asdfghjkl',
|
2021-01-28 21:23:04 +00:00
|
|
|
',': 'hint links run mpv {hint-url}',
|
2022-03-02 04:32:07 +00:00
|
|
|
';a': 'hint links run ' + kitdl + ' dl {hint-url}"',
|
|
|
|
';v': 'hint links run ' + kitdl + ' ydl {hint-url}"',
|
|
|
|
'aa': kitdl + ' dl {url}"',
|
|
|
|
'av': kitdl + ' ydl {url}"',
|
2022-02-04 18:17:39 +00:00
|
|
|
'e': 'config-cycle -p -u *://*.{url:host}/* content.javascript.enabled ;; reload',
|
2022-02-19 04:04:40 +00:00
|
|
|
'E': 'config-cycle -p content.javascript.enabled ;; reload',
|
2022-01-12 23:02:54 +00:00
|
|
|
'm': 'mpv {url}',
|
2021-01-28 21:23:04 +00:00
|
|
|
's1': 'download-open',
|
2022-03-09 19:13:21 +00:00
|
|
|
'sa': 'open -t archive.is/submit/?url={url}',
|
2022-01-20 05:06:06 +00:00
|
|
|
'sc': 'toggle-dark',
|
2021-01-28 21:23:04 +00:00
|
|
|
'sd': "spawn fish -c 'dl; open (ls | rofi -dmenu -b -i || exit 0)'",
|
2021-03-28 04:38:12 +00:00
|
|
|
'sg': 'debug-dump-page ~/Downloads/dump.html',
|
2022-03-21 03:12:23 +00:00
|
|
|
'sm': 'monolith-save ~/Downloads/dump.html"',
|
2021-01-28 21:23:04 +00:00
|
|
|
'sq': 'spawn -u qr',
|
|
|
|
'sr': 'remove-sticky',
|
2022-02-19 04:04:40 +00:00
|
|
|
'st': 'config-cycle -p content.proxy socks://localhost:9050/ system',
|
2022-02-04 18:17:39 +00:00
|
|
|
'T' : 'tab-next',
|
|
|
|
'td': 'config-unset -u {url:host} content.headers.user_agent',
|
2021-01-28 21:23:04 +00:00
|
|
|
}
|
|
|
|
for a, b in bind.items():
|
|
|
|
config.bind(a, b)
|