Qute: local invidious & add autostarts

This commit is contained in:
Phantop 2020-10-03 20:23:08 -04:00
parent 416b376681
commit 460b28588e
6 changed files with 21 additions and 6 deletions

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Application
Name=Devilspie
Description=
Exec=devilspie2

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Application
Name=Invidious
Description=
Exec=bash -c invidious

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Application
Name=Podsync
Description=
Exec=bash -c podsync

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.MYztjy/gdbypass.fish @ line 2
function gdbypass
qb (curl "https://gdbypass.host/api/?link="$argv | cut -d\" -f22 | sed 's/[\]//g')
end

View File

@ -1,4 +1,4 @@
invid = 'invidious.fdn.fr'
invid = 'invidious.tube'
nittr = 'nitter.snopyta.org'
# bindings
@ -11,6 +11,7 @@ config.bind('<Ctrl-r>', 'spawn -u readability')
c.aliases['mpv'] = "spawn -m -d -v mpv --ytdl-raw-options=write-sub=,write-auto-sub=,embed-subs=,sub-lang=en}"
config.bind('<Ctrl-m>', 'mpv {url}')
config.bind('<Ctrl-Shift-M>', 'mpv --ytdl-format=bestvideo[vcodec^=avc1]+bestaudio {url}')
config.bind('<,>', 'hint links run mpv {hint-url}')
config.bind('sq', 'open qr {url}')
config.bind('sa', 'open https://archive.is/?run=1&url={url}')
@ -27,7 +28,7 @@ config.bind('sca', 'config-cycle -t content.user_stylesheets "[normalize/normali
# BEGIN MAIN CONFIGURATION #
c.url.default_page = "https://feedly.com/i/my"
c.url.start_pages = ["https://duckduckgo.com/?q=20m+timer"]
c.url.searchengines = {"DEFAULT": "duckduckgo.com/?q={}", "y": invid + "/search?q={}"}
c.url.searchengines = {"DEFAULT": "duckduckgo.com/?q={}", "y": "localhost:3000" + "/search?q={}"}
c.completion.open_categories = ["quickmarks", "bookmarks", "history"]
c.tabs.show = "multiple"

3
.local/bin/invidious Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
cd $D/Installs/invidious
tmux new -s 0 -d "cd $D/Installs/invidious; docker-compose up"