added video slideshows, useful for the chans

modified:   .config/qutebrowser/autoconfig.yml
	new file:   .local/bin/tools/mpvallvids
This commit is contained in:
Alexander Bocken 2020-09-16 12:52:05 +02:00
parent ff3425a842
commit f214208540
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8
2 changed files with 7 additions and 0 deletions

View File

@ -10,9 +10,11 @@ settings:
global: global:
normal: normal:
',C': spawn -d st castyt {url} ',C': spawn -d st castyt {url}
',S': spawn -d mpvallvids {url}
',V': spawn -d mpv {url} ',V': spawn -d mpv {url}
',X': spawn -d dmenuhandler {url} ',X': spawn -d dmenuhandler {url}
',c': hint links spawn -d st castyt {hint-url} ',c': hint links spawn -d st castyt {hint-url}
',s': hint links spawn -d mpvallvids {hint-url}
',v': hint links spawn -d mpv {hint-url} ',v': hint links spawn -d mpv {hint-url}
',x': hint links spawn -d dmenuhandler {hint-url} ',x': hint links spawn -d dmenuhandler {hint-url}
content.desktop_capture: content.desktop_capture:
@ -61,11 +63,14 @@ settings:
global: true global: true
url.default_page: url.default_page:
global: https://searx.bocken.org global: https://searx.bocken.org
url.open_base_url:
global: true
url.searchengines: url.searchengines:
global: global:
DEFAULT: https://searx.bocken.org/?q={}&categories=general&language=en-US DEFAULT: https://searx.bocken.org/?q={}&categories=general&language=en-US
ddg: https://duckduckgo.com/?q={} ddg: https://duckduckgo.com/?q={}
ling: https://www.linguee.com/english-german/search?source=auto&query={} ling: https://www.linguee.com/english-german/search?source=auto&query={}
oz: http://www.ozdic.com/collocation-dictionary/{}
sx: https://searx.bocken.org/?q={}&categories=general&language=en-US sx: https://searx.bocken.org/?q={}&categories=general&language=en-US
yt: https://www.youtube.com/results?search_query={} yt: https://www.youtube.com/results?search_query={}
url.start_pages: url.start_pages:

2
.local/bin/tools/mpvallvids Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
lynx --dump --listonly --nonumbers "$1" | grep '\.webm$' | uniq | xargs mpv