SWAYIMG(1) | Swayimg manual | SWAYIMG(1) |
swayimg - lightweight image viewer for Wayland display servers
swayimg [OPTIONS]... [FILE]...
If no input files or directories are specified, the viewer will try to read all files in the current directory.
Use '-' as FILE to read image data from stdin.
In a sway compatible mode, the viewer creates an "overlay" above the currently active window, which gives the illusion that you are opening the image directly in a terminal window. The program uses sway's IPC to determine the geometry of the currently focused workspace and window. This data is used to calculate the position and size of a new window. Then the program adds two rules to the sway application swayimg: "floating enable" and "move position". This creates a new Wayland window and draws an image from the specified file.
none: unsorted; alpha: sorted alphabetically (default); random: randomize list.
Set the default scale of the image. SCALE is one of the named values. optimal: 100% or less to fit to window; width: fit image width to window width; height: fit image height to window height; fit: fit to window; fill: crop image to fill the window; real: real size (100%).
Activate slideshow mode on startup.
Start in full screen mode.
Set the absolute position of the window:
parent: set position from parent (currently active) window (default); X,Y: absolute coordinates of the top left corner.
Set window size:
parent: set size from parent (currently active) window (default); image: set size from the first image; WIDTH,HEIGHT: absolute size of the window.
Set a constant window class/app_id. Setting this may break the window layout.
Set a configuration parameter, see `man swayimgrc` for a list of sections and its parameters.
Default key bindings can be overridden with the configuration file.
swayimgrc(5)
For suggestions, comments, bug reports etc. visit the project homepage.
2021-12-28 | swayimg |