newsboat: open links in private browser tab

This commit is contained in:
krolyxon 2023-06-11 12:07:20 +05:30
parent 101af580e3
commit c1ebbfa7ee
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@ unbind-key H
unbind-key L
unbind-key c
unbind-key ,
browser "librewolf %u"
browser "librewolf --private-window %u"
# Feed settings
prepopulate-query-feeds yes

View File

@ -50,5 +50,7 @@ colors() {
echo
}
movie() {
mpv "$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" | fzf)"
filename="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | fzf)"
filepath="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")"
mpv "$(grep "$filename" <<< "$filepath")"
}