From b7fd6ea69b9d207592b92b8fa5c8d0b33b271361 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Sat, 4 Apr 2020 22:14:54 +0300 Subject: some smol changes --- dotfiles/.config/newsboat/config | 7 ++++--- dotfiles/.config/ranger/rc.conf | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'dotfiles') diff --git a/dotfiles/.config/newsboat/config b/dotfiles/.config/newsboat/config index e33fc4f..87a8db0 100644 --- a/dotfiles/.config/newsboat/config +++ b/dotfiles/.config/newsboat/config @@ -1,4 +1,4 @@ -#auto-reload yes +# auto-reload yes external-url-viewer "urlview" @@ -32,6 +32,7 @@ color article cyan default browser linkhandler macro , open-in-browser -macro v set browser "i3 exec mpv"; open-in-browser ; set browser linkhandler -macro w set browser "w3m"; open-in-browser ; set browser linkhandler +macro t set browser "tsp youtube-dl --add-metadata -ic"; open-in-browser ; set browser linkhandler +macro a set browser "tsp youtube-dl --add-metadata -xic -f bestaudio/best"; open-in-browser ; set browser linkhandler +macro v set browser "setsid nohup mpv"; open-in-browser ; set browser linkhandler macro c set browser "copy(){ echo $1 | wl-copy ;}; copy "; open-in-browser ; set browser linkhandler diff --git a/dotfiles/.config/ranger/rc.conf b/dotfiles/.config/ranger/rc.conf index 9c977e5..24f0b08 100644 --- a/dotfiles/.config/ranger/rc.conf +++ b/dotfiles/.config/ranger/rc.conf @@ -88,7 +88,7 @@ map i display_file map ? help map W display_log map w taskview_open -map ss shell nohup $TERMINAL > ~/.cache/nohup.out 2>&1 /dev/null 2>&1 & map S shell $SHELL map : console @@ -398,7 +398,7 @@ copytmap q Q w map sp console shell bash speedvid.sh %f%space -map x shell chmod -x %s +map x shell chmod +x %f #General map V console shell $EDITOR%space -- cgit v1.2.3