From 3bdd14e69dc55dc2446251518a2528b08674f8e7 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 9 Dec 2018 14:29:59 -0500 Subject: [PATCH] gif handling with xdg-open --- .config/mimeapps.list | 1 + .local/share/applications/gif.desktop | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .local/share/applications/gif.desktop diff --git a/.config/mimeapps.list b/.config/mimeapps.list index 43bf715..fa9bdb1 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -5,3 +5,4 @@ text/plain=vim.desktop; application/pdf=zathura.desktop; image/png=feh.desktop; image/jpeg=feh.desktop; +image/gif=gif.desktop; diff --git a/.local/share/applications/gif.desktop b/.local/share/applications/gif.desktop new file mode 100644 index 0000000..366fd94 --- /dev/null +++ b/.local/share/applications/gif.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Animated gif handler +Exec=/usr/bin/mpv --loop %u