commit 51bbb16a0664a0c655c618cb08fa333ce11477e9
parent dfaa31fe5cbcc89216c56efe40c6ef48ae1359ad
Author: Luke Smith <luke@lukesmith.xyz>
Date: Thu, 3 Jan 2019 14:13:46 -0500
sxiv now default image viewer
Diffstat:
4 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/.config/mimeapps.list b/.config/mimeapps.list
@@ -3,6 +3,6 @@ x-scheme-handler/magnet=transmission-remote.desktop;
x-scheme-handler/mailto=mutt.desktop;
text/plain=vim.desktop;
application/pdf=zathura.desktop;
-image/png=feh.desktop;
-image/jpeg=feh.desktop;
-image/gif=gif.desktop;
+image/png=sxiv.desktop;
+image/jpeg=sxiv.desktop;
+image/gif=sxiv.desktop;
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf
@@ -184,14 +184,13 @@ ext djvu, has atril, X, flag f = atril -- "$@"
#-------------------------------------------
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
mime ^image/svg, has display, X, flag f = display -- "$@"
-mime ^image/gif, has mpv, X, flag f = mpv --loop -- "$@"
mime ^image/gif, has viewnior, X, flag f = viewnior -- "$@"
mime ^image/gif, has qutebrowser, X, flag f = qutebrowser -- "$@"
ext xcf, X, flag f = gimp -- "$@"
+mime ^image, has sxiv, X, flag f = sxiv -a -- "$@"
mime ^image, has feh, X, flag f = feh --scale-down --auto-zoom --image-bg black -- "$@"
mime ^image, has feh, X, flag f = feh --scale-down --auto-zoom -- "$@"
-mime ^image, has sxiv, X, flag f = sxiv -- "$@"
mime ^image, has mirage, X, flag f = mirage -- "$@"
mime ^image, has ristretto, X, flag f = ristretto "$@"
mime ^image, has eog, X, flag f = eog -- "$@"
diff --git a/.local/share/applications/sxiv.desktop b/.local/share/applications/sxiv.desktop
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Type=Application
+Name=feh image viewer
+Exec=/usr/bin/sxiv -a %u
diff --git a/.scripts/i3cmds/tutorialvids b/.scripts/i3cmds/tutorialvids
@@ -1,7 +1,7 @@
#!/bin/sh
vidlist="
status bar https://www.youtube.com/watch?v=gKumet6b-WY
-feh
+sxiv (image viewer) https://www.youtube.com/watch?v=GYW9i_u5PYs
st (terminal) https://www.youtube.com/watch?v=9H75enWM22k
i3 (window manager) https://www.youtube.com/watch?v=GKviflL9XeI
mutt (email) https://www.youtube.com/watch?v=2U3vRbF7v5A