diff options
-rw-r--r-- | .config/lf/lfrc | 12 | ||||
-rw-r--r-- | .config/mimeapps.list | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 662109b..611018b 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -17,11 +17,11 @@ cmd open ${{ case $(file --mime-type "$(readlink -f $f)" -b) in application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) localc $fx ;; application/vnd.openxmlformats-officedocument.wordprocessingml.document) docx2txt $f | $PAGER ;; - image/vnd.djvu|application/pdf|application/octet-stream|application/postscript) bsdsetsid zathura $fx >/dev/null 2>&1 ;; + image/vnd.djvu|application/pdf|application/octet-stream|application/postscript) setsid zathura $fx >/dev/null 2>&1 ;; text/html) firefox $fx ;; text/plain) $PAGER $fx ;; text/*|application/json|inode/x-empty) bat --style=plain --tabs 4 --paging=always -f $fx ;; - image/x-xcf) bsdsetsid gimp $f >/dev/null 2>&1 ;; + image/x-xcf) setsid gimp $f >/dev/null 2>&1 ;; image/svg+xml) display -- $f ;; image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|tif\|ico\)\(_large\)*$" | nsxiv -aibof 2>/dev/null | while read -r file; do @@ -30,12 +30,12 @@ cmd open ${{ lf -remote "send toggle" done & ;; - audio/*) bsdsetsid st -e mpv --no-audio-display --audio-channels=stereo $fx ;; - video/*) bsdsetsid mpv --fullscreen --really-quiet --audio-channels=stereo $fx >/dev/null 2>&1 ;; + audio/*) setsid alacritty -e mpv --no-audio-display --audio-channels=stereo $fx ;; + video/*) setsid mpv --fullscreen --really-quiet --audio-channels=stereo $fx >/dev/null 2>&1 ;; *opendocument*) odt2txt $f | $PAGER ;; - application/pdf|application/vnd*|application/epub*) bsdsetsid zathura $fx >/dev/null 2>&1 ;; + application/pdf|application/vnd*|application/epub*) setsid zathura $fx >/dev/null 2>&1 ;; application/pgp-encrypted) $EDITOR $fx ;; - *) for f in $fx; do bsdsetsid xdg-open $f >/dev/null 2>&1; done;; + *) for f in $fx; do setsid xdg-open $f >/dev/null 2>&1; done;; esac }} diff --git a/.config/mimeapps.list b/.config/mimeapps.list index c63ab41..ab7e7fc 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -2,7 +2,7 @@ x-scheme-handler/http=librewolf.desktop x-scheme-handler/https=librewolf.desktop x-scheme-handler/ftp=librewolf.desktop -image/png=userapp-nsxiv -b -a-NUYH01.desktop +image/png=sxiv.desktop x-scheme-handler/chrome=librewolf.desktop text/html=librewolf.desktop application/x-extension-htm=librewolf.desktop |