Browse by type
Swayimg is a fully customizable image viewer with Lua scripting support.

swayimg [OPTIONS]... [FILE]...
Examples:
- View multiple files:
swayimg photo.jpg logo.png
- View using pipes:
wget -qO- https://www.kernel.org/theme/images/logos/tux.png | swayimg -
- Loading stdout from external commands:
swayimg "exec://wget -qO- https://www.kernel.org/theme/images/logos/tux.png" \
"exec://curl -so- https://www.kernel.org/theme/images/logos/tux.png"
See full documentation for details.
The Swayimg configuration file is a Lua script. The full list of available functions is described in the documentation and in the Lua source file.
Example of the configuration file is available after
installation in /usr/share/swayimg/example.lua.
List of supported distributives can be found on the Repology page.
Arch users can install the program from the extra repository or from AUR package.
The project uses Meson build system:
meson setup my_build_dir
meson compile -C my_build_dir
meson install -C my_build_dir
$ claude mcp add swayimg \
-- python -m otcore.mcp_server <graph>