aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-04-04 22:14:54 +0300
committerYaroslav <contact@yaroslavps.com>2020-04-04 22:14:54 +0300
commitb7fd6ea69b9d207592b92b8fa5c8d0b33b271361 (patch)
tree5493707fd7fe554a50b9a7d3b1ebd1843ca47459 /dotfiles
parent3b9dc23e25d832a706c40f4a5fdd7d1ef30db840 (diff)
downloadswayrice-b7fd6ea69b9d207592b92b8fa5c8d0b33b271361.tar.gz
swayrice-b7fd6ea69b9d207592b92b8fa5c8d0b33b271361.zip
some smol changes
Diffstat (limited to 'dotfiles')
-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