summaryrefslogtreecommitdiff
path: root/.local/bin/open
diff options
context:
space:
mode:
authorVikas Kushwaha <dev@vikas.rocks>2025-05-07 13:44:50 +0530
committerVikas Kushwaha <dev@vikas.rocks>2025-05-07 13:44:50 +0530
commite55ad8ca4f99fa024106d5695a55f9ac132d7b68 (patch)
treef8762e7ac43504841f3c14c20bd8f149c1cbc344 /.local/bin/open
parent7df7120b1ae66ed0e9a7c6ed9b224ba44ea1d920 (diff)
updates
Diffstat (limited to '.local/bin/open')
-rwxr-xr-x.local/bin/open4
1 files changed, 2 insertions, 2 deletions
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"