aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/newsboat/config7
-rw-r--r--dotfiles/.config/ranger/rc.conf4
2 files changed, 6 insertions, 5 deletions
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 &
+map ss shell setsid $TERMINAL >/dev/null 2>&1 &
map S shell $SHELL
map : console
@@ -398,7 +398,7 @@ copytmap <ESC> q Q w <C-c>
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