visone,
@visone@fosstodon.org avatar

@guttermonk
Try swayimg

guttermonk, (edited )
@guttermonk@lemmy.ml avatar

I like how it supports animated webp and gift files right out of the box. Would be perfect if you could open images from the file manager and navigate, but it doesn’t look like that’s in the works.

progandy,

I think the --all option is this mode.

guttermonk,
@guttermonk@lemmy.ml avatar

Unfortunately, --all isn’t an option. The following options are available in swayimg:


<span style="color:#323232;">Mandatory arguments to long options are mandatory for short options too.
</span><span style="color:#323232;">  -r, --recursive      read directories recursively
</span><span style="color:#323232;">  -o, --order=ORDER    set sort order for image list: none/[alpha]/random
</span><span style="color:#323232;">  -s, --scale=SCALE    set initial image scale: [optimal]/fit/width/height/fill/real
</span><span style="color:#323232;">  -l, --slideshow      activate slideshow mode on startup
</span><span style="color:#323232;">  -f, --fullscreen     show image in full screen mode
</span><span style="color:#323232;">  -p, --position=POS   set window position [parent]/X,Y
</span><span style="color:#323232;">  -g, --size=SIZE      set window size: [parent]/image/W,H
</span><span style="color:#323232;">  -a, --class=NAME     set window class/app_id
</span><span style="color:#323232;">  -c, --config=S.K=V   set configuration parameter: section.key=value
</span><span style="color:#323232;">  -v, --version        print version info and exit
</span><span style="color:#323232;">  -h, --help           print this help and exit
</span>
visone,
@visone@fosstodon.org avatar

@guttermonk
I have a custom nuke opener file for nnn that do that's that. Every time I open an image, it uses swayimg -r (recursively).
I gues you can do some like that with xdg-open

callyral,
@callyral@pawb.social avatar

This commit seems to be related.

guttermonk,
@guttermonk@lemmy.ml avatar

If that let’s you flip between images that are in the same folder using arrow keys (or something similar), that would be awesome.

possiblylinux127,

The gnome image viewer is Wayland native

guttermonk,
@guttermonk@lemmy.ml avatar

Sounds interesting, but the requirements say it needs gnome-desktop. I’m using Hyprland on NixOS, so it doesn’t sound like this will work for my setup unfortunately. Thank you for the suggestion. Hopefully this helps others.

Sentau, (edited )

Currently, gnome has moved away from eye of Gnome to Image Viewer/Loupe. The website doesn’t have the dependencies though I don’t think you should need the gnome-desktop package. Perhaps you can look into it. Just be aware that the app is pretty barebones for now.

Edit - Alternatively, you could look into gwenview which is normally shipped in kde. That will have the advantage of shipping with a lot more editing options and since it is a more mature(I think is the right word) project, I expect it to have better support for esoteric file formats.

guttermonk,
@guttermonk@lemmy.ml avatar

Gwenview looks a little too full featured, but the Gnome Image Viewer (Loupe) works well. No dependencies needed in Nix, and the arrow keys let you flip between different images that are in the same folder. All of the on-screen functionality works (copy, move to trash, zoom in/out, toggle full-screen, etc.), and keyboard shortcuts and gestures work great. The only bug I have to work out is that it doesn’t respect the gtk theme I have configured (GTK 2, 3, and 4). Otherwise, seems like a good option.

gramgan,

I tried imv and hated it. I just use feh (through XWayland) or mpv now.

theshatterstone54,

mpv as an image viewer? Is that… possible?

FruitLips,
@FruitLips@lemmy.ml avatar

Just tried it and, yes. Jpg, Png, and Webp open as a half-second video. Actually kinda neat, I adjusted gamma, saturation, and saved a copy with 3 button presses. Well, 4 if you count pause…

https://lemmy.ml/pictrs/image/6183e4d7-abd6-456a-82df-58e9ef80638e.png

theshatterstone54,

Why pause? Does it start a slideshow in the current directory?

progandy,

I don’t know how it compares to nsxiv, but imv supports Wayland.

guttermonk, (edited )
@guttermonk@lemmy.ml avatar

Can you open animated gifs in imv? I just get a black screen, but the home page says animated gifs are supported.

progandy,

At least on xorg the gifs I had worked.

gamma,
@gamma@programming.dev avatar

Judging purely on the dependencies I see in pacman, nsxiv depends on imlib2, which pulls in a lot of libraries, while imv links to a subset of those libraries directly.

IsoSpandy,

I recently coded up a dirt simple image viewer. Like it is stupidly simple.

You can give it a go github.com/Dr-42/imeye

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • fightinggames
  • All magazines