From ed5e20a2b30734989419980bd885877f4ad2f4ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 24 Feb 2022 15:45:42 +0300 Subject: heic and heif associations to image viewer and nsxiv rifle settings --- dotfiles/.config/mimeapps.list | 8 +++++++- dotfiles/.local/bin/nsxiv-rifle | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dotfiles/.config/mimeapps.list b/dotfiles/.config/mimeapps.list index b137f9e..03442bf 100644 --- a/dotfiles/.config/mimeapps.list +++ b/dotfiles/.config/mimeapps.list @@ -14,14 +14,20 @@ image/gif=nsxiv.desktop; image/jpeg=nsxiv.desktop; image/png=nsxiv.desktop; image/webp=nsxiv.desktop; +image/heic=nsxiv.desktop; +image/heif=nsxiv.desktop; image/svg+xml=org.inkscape.Inkscape.desktop text/html=org.qutebrowser.qutebrowser.desktop; text/xml=nvim.desktop; text/plain=nvim.desktop; +text/csv=nvim.desktop; x-scheme-handler/discord-589393213723246592=discord-589393213723246592.desktop; x-scheme-handler/http=org.qutebrowser.qutebrowser.desktop; x-scheme-handler/https=org.qutebrowser.qutebrowser.desktop; x-scheme-handler/qute=org.qutebrowser.qutebrowser.desktop; x-scheme-handler/discord-455712169795780630=discord-455712169795780630.desktop x-scheme-handler/mailto=neomutt.desktop -x-scheme-handler/tg=userapp-Telegram Desktop-I9W870.desktop +x-scheme-handler/tg=userapp-Telegram Desktop-BLI1G1.desktop + +[Added Associations] +x-scheme-handler/tg=userapp-Telegram Desktop-BLI1G1.desktop; diff --git a/dotfiles/.local/bin/nsxiv-rifle b/dotfiles/.local/bin/nsxiv-rifle index 95d6423..bec93b7 100755 --- a/dotfiles/.local/bin/nsxiv-rifle +++ b/dotfiles/.local/bin/nsxiv-rifle @@ -16,7 +16,7 @@ abspath () { listfiles () { find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \ - '.*\(jpe?g\|bmp\|webp\|png\|gif\)$' -print0 | sort -z + '.*\(jpe?g\|bmp\|webp\|png\|gif\|hei\(c\|f\)\)$' -print0 | sort -z } target="$(abspath "$1")" -- cgit v1.2.3