Krolyxon
Commit c1ebbfa

Branches

Refs →

dotfiles-x11c1ebbfa

newsboat: open links in private browser tab

Author
krolyxon
Date
2023-06-11 12:07 +0530
Parent
101af58
Commit
c1ebbfa7eeca191244a9ec3b985b5cf8a1175c05

+4 −2

2 files changed

  1. M .config/newsboat/config +1 −1
  2. M .config/shell/aliasrc +3 −1
M .config/newsboat/config View
@@ -7,7 +7,7 @@ unbind-key H
77 unbind-key L
88 unbind-key c
99 unbind-key ,
10−browser "librewolf %u"
10+browser "librewolf --private-window %u"
1111
1212 # Feed settings
1313 prepopulate-query-feeds yes
M .config/shell/aliasrc View
@@ -50,5 +50,7 @@ colors() {
5050 echo
5151 }
5252 movie() {
53− mpv "$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" | fzf)"
53+ filename="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | fzf)"
54+ filepath="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")"
55+ mpv "$(grep "$filename" <<< "$filepath")"
5456 }