sxiv now default image viewer

This commit is contained in:
Luke Smith 2019-01-03 14:13:46 -05:00
parent dfaa31fe5c
commit 51bbb16a06
4 changed files with 9 additions and 6 deletions

View file

@ -3,6 +3,6 @@ x-scheme-handler/magnet=transmission-remote.desktop;
x-scheme-handler/mailto=mutt.desktop; x-scheme-handler/mailto=mutt.desktop;
text/plain=vim.desktop; text/plain=vim.desktop;
application/pdf=zathura.desktop; application/pdf=zathura.desktop;
image/png=feh.desktop; image/png=sxiv.desktop;
image/jpeg=feh.desktop; image/jpeg=sxiv.desktop;
image/gif=gif.desktop; image/gif=sxiv.desktop;

View file

@ -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 inkscape, X, flag f = inkscape -- "$@"
mime ^image/svg, has display, X, flag f = display -- "$@" 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 viewnior, X, flag f = viewnior -- "$@"
mime ^image/gif, has qutebrowser, X, flag f = qutebrowser -- "$@" mime ^image/gif, has qutebrowser, X, flag f = qutebrowser -- "$@"
ext xcf, X, flag f = gimp -- "$@" 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 --image-bg black -- "$@"
mime ^image, has feh, X, flag f = feh --scale-down --auto-zoom -- "$@" 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 mirage, X, flag f = mirage -- "$@"
mime ^image, has ristretto, X, flag f = ristretto "$@" mime ^image, has ristretto, X, flag f = ristretto "$@"
mime ^image, has eog, X, flag f = eog -- "$@" mime ^image, has eog, X, flag f = eog -- "$@"

View file

@ -0,0 +1,4 @@
[Desktop Entry]
Type=Application
Name=feh image viewer
Exec=/usr/bin/sxiv -a %u

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
vidlist=" vidlist="
status bar https://www.youtube.com/watch?v=gKumet6b-WY 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 st (terminal) https://www.youtube.com/watch?v=9H75enWM22k
i3 (window manager) https://www.youtube.com/watch?v=GKviflL9XeI i3 (window manager) https://www.youtube.com/watch?v=GKviflL9XeI
mutt (email) https://www.youtube.com/watch?v=2U3vRbF7v5A mutt (email) https://www.youtube.com/watch?v=2U3vRbF7v5A