+ open pdfs with sioyek

This commit is contained in:
committer
2024-06-15 16:00:12 -05:00
parent 75d7259cac
commit 652633190b

View File

@@ -66,6 +66,7 @@ cmd open ${{
case "$f" in case "$f" in
*.[Rr][Pp][Pp]*) reaper $fx;; *.[Rr][Pp][Pp]*) reaper $fx;;
*.[Pp][Dd][Ff]*) sioyek $fx;;
*) case $(file --mime-type -Lb $f) in *) case $(file --mime-type -Lb $f) in
text/*) helix $fx;; text/*) helix $fx;;
*) for f in $fx; do xdg-open $f > /dev/null 2> /dev/null & done;; *) for f in $fx; do xdg-open $f > /dev/null 2> /dev/null & done;;