aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-11-01 14:01:12 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-11-01 14:01:12 +0300
commitf712f4131cf26571bded1074ef749ac85799c9c0 (patch)
tree0bd8fbe33a08e3dbfbbd1e530986ab66e01b8bbb
parentd36d789940c5ea4519fddcb01b985104c7858aa6 (diff)
downloadswayrice-f712f4131cf26571bded1074ef749ac85799c9c0.tar.gz
swayrice-f712f4131cf26571bded1074ef749ac85799c9c0.zip
limit youtube video quality to 1440p
-rw-r--r--dotfiles/.config/mimeo/associations.txt2
-rw-r--r--dotfiles/.config/newsboat/config4
2 files changed, 3 insertions, 3 deletions
diff --git a/dotfiles/.config/mimeo/associations.txt b/dotfiles/.config/mimeo/associations.txt
index 9a666ec..c62c9f3 100644
--- a/dotfiles/.config/mimeo/associations.txt
+++ b/dotfiles/.config/mimeo/associations.txt
@@ -1,4 +1,4 @@
-mpv --input-ipc-server=/tmp/mpvsock -quiet %U >/dev/null 2>&1
+mpv --input-ipc-server=/tmp/mpvsock --ytdl-format="bestvideo[height<=?1440]+bestaudio" -quiet %U >/dev/null 2>&1
^https?://(www.)?youtube.com/watch\?.*v=
^https?://youtu.be/
^https?://.*\.mkv
diff --git a/dotfiles/.config/newsboat/config b/dotfiles/.config/newsboat/config
index 0854bbe..1e86e2c 100644
--- a/dotfiles/.config/newsboat/config
+++ b/dotfiles/.config/newsboat/config
@@ -30,6 +30,6 @@ color listfocus_unread yellow default bold
color info red black bold
color article cyan default
-browser mimeo
+browser "setsid mimeo %u"
macro , open-in-browser
-macro c set browser "copy(){ printf '%s' $1 | wl-copy ;}; copy "; open-in-browser ; set browser mimeo
+#macro c set browser "copy(){ printf '%s' $1 | wl-copy ;}; copy "; open-in-browser ; set browser mimeo