aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-02-24 15:45:42 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-02-24 15:45:42 +0300
commited5e20a2b30734989419980bd885877f4ad2f4ba (patch)
treea961a47ba225699d396ff900d0a9c849da6ed1a8 /dotfiles
parentebbc91277bf9c3b3043ec112d226cdfa717141c0 (diff)
downloadswayrice-ed5e20a2b30734989419980bd885877f4ad2f4ba.tar.gz
swayrice-ed5e20a2b30734989419980bd885877f4ad2f4ba.zip
heic and heif associations to image viewer
and nsxiv rifle settings
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.config/mimeapps.list8
-rwxr-xr-xdotfiles/.local/bin/nsxiv-rifle2
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")"