mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-08 16:04:37 +00:00
22 lines
804 B
Python
22 lines
804 B
Python
bind = {
|
|
'<Ctrl-q>': 'close',
|
|
'<Ctrl-r>': 'spawn -u readability',
|
|
'<Ctrl-w>': 'tab-close',
|
|
'<Alt+f>' : 'config-cycle hints.chars qwerasdf asdfghjkl',
|
|
',': 'hint links run mpv {hint-url}',
|
|
'e': 'config-cycle -p -u *://*.{url:host}/* content.javascript.enabled ;; reload',
|
|
'm': 'mpv {url}',
|
|
's1': 'download-open',
|
|
'sa': 'open -t archive.is/?run=1&url={url}',
|
|
'sc': 'toggle-dark',
|
|
'sd': "spawn fish -c 'dl; open (ls | rofi -dmenu -b -i || exit 0)'",
|
|
'sg': 'debug-dump-page ~/Downloads/dump.html',
|
|
'sq': 'spawn -u qr',
|
|
'sr': 'remove-sticky',
|
|
'st': 'config-cycle content.proxy socks://localhost:9050/ system',
|
|
'T' : 'tab-next',
|
|
'td': 'config-unset -u {url:host} content.headers.user_agent',
|
|
}
|
|
for a, b in bind.items():
|
|
config.bind(a, b)
|