From e55ad8ca4f99fa024106d5695a55f9ac132d7b68 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Wed, 7 May 2025 13:44:50 +0530 Subject: updates --- .local/bin/open | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/open') diff --git a/.local/bin/open b/.local/bin/open index 5936451..69dcb9c 100755 --- a/.local/bin/open +++ b/.local/bin/open @@ -7,7 +7,7 @@ for file in "$@"; do *.pdf|*.djvu|*.epub) setsid -f zathura "$file" 2>/dev/null ;; *.png|*.jpg|*.jpeg|*.webp) setsid -f nsxiv "$file" ;; - *.gif|*.mkv|*.mp3|*.mp4|*.webm|*.ogg) ${PLAYER:-mpv --sub-auto=fuzzy} "$file" ;; + *.gif|*.mkv|*.mp3|*.mp4|*.webm|*.ogg) ${PLAYER:-mpv --no-config --sub-auto=fuzzy} "$file" ;; *.html) ${BROWSER:-w3m} "$file" ;; *.pl.txt) fpl "$file" ;; *.txt|*.description) ${PAGER:-less} "$file" ;; @@ -31,7 +31,7 @@ for file in "$@"; do application/sc) sc-im "$file" ;; application/x-executable) "$file" ;; image/*) setsid -f nsxiv "$file" ;; - video/*|audio/*) ${PLAYER:- mpv --sub-auto=fuzzy} "$file" ;; + video/*|audio/*) ${PLAYER:- mpv --no-config --sub-auto=fuzzy} "$file" ;; *) xdg-open "$file" || exit [ -n "$DISPLAY" ] && notify-send "⚠️ open: unknown filetype" "$filetype" -- cgit v1.2.3