this post was submitted on 01 Jul 2024
70 points (98.6% liked)

Linux

48157 readers
764 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

According to this issue, it looks like there are no plans, understandably, for making a version/fork of nsxiv but with native Wayland support.

Any recommendations for a simple image viewer in Hyprland?

you are viewing a single comment's thread
view the rest of the comments
[–] guttermonk@lemmy.ml 1 points 4 months ago* (last edited 3 months ago) (3 children)

I like how it supports animated webp and gif 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@feddit.de 1 points 4 months ago (1 children)

I think the --all option is this mode.

[–] guttermonk@lemmy.ml 1 points 4 months ago (1 children)

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

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

Hmm, i think I mixed it up with the config. There is an all option in swayimgrc.

[–] visone@fosstodon.org 1 points 4 months ago (1 children)

@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

[–] guttermonk@lemmy.ml 1 points 4 months ago* (last edited 4 months ago) (1 children)

I navigated to my screenshot folder in terminal and opened an image using swayimg -r but it wouldn't let me navigate with n or p. I also tried going to my Pictures folder and used swayimg Screenshots/* like this thread suggested, but still no luck.

[–] visone@fosstodon.org 2 points 4 months ago (1 children)

@guttermonk
Ahh ok ok, I misunderstood it, I can move forward with space, but not backwards....sorry!!

[–] guttermonk@lemmy.ml 1 points 4 months ago

Thanks for confirming that you're seeing the same thing. Must be a bug.

[–] callyral@pawb.social 1 points 4 months ago (1 children)
[–] guttermonk@lemmy.ml 1 points 4 months ago

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