diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-02-24 15:45:42 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-02-24 15:45:42 +0300 |
commit | ed5e20a2b30734989419980bd885877f4ad2f4ba (patch) | |
tree | a961a47ba225699d396ff900d0a9c849da6ed1a8 | |
parent | ebbc91277bf9c3b3043ec112d226cdfa717141c0 (diff) | |
download | swayrice-ed5e20a2b30734989419980bd885877f4ad2f4ba.tar.gz swayrice-ed5e20a2b30734989419980bd885877f4ad2f4ba.zip |
heic and heif associations to image viewer
and nsxiv rifle settings
-rw-r--r-- | dotfiles/.config/mimeapps.list | 8 | ||||
-rwxr-xr-x | 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")" |