notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2026Q1
swayimg Image viewer for Sway/Wayland
4.7 x11 on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.7Version of this port present on the latest quarterly branch.
Maintainer: jbeich@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-01-16 08:30:31
Last Update: 2026-01-16 08:28:46
Commit Hash: bba7a6f
Also Listed In: wayland
License: MIT
WWW:
https://github.com/artemsen/swayimg
Description:
Now you can view images directly in the current terminal window! The program uses Sway IPC to determine the geometry of the currently focused container. This data is used to calculate the position and size of the new "overlay" window that will be used to draw the image. In the next step, swayimg adds two Sway rules for the self window: "floating enable" and "move position". Then it creates a new Wayland window and draws the image from the specified file.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (13 items)
Collapse this list.
  1. bin/swayimg
  2. share/man/man1/swayimg.1.gz
  3. share/man/man5/swayimgrc.5.gz
  4. share/applications/swayimg.desktop
  5. share/icons/hicolor/64x64/apps/swayimg.png
  6. share/icons/hicolor/128x128/apps/swayimg.png
  7. share/icons/hicolor/256x256/apps/swayimg.png
  8. /usr/local/share/swayimg/swayimgrc
  9. share/bash-completion/completions/swayimg
  10. share/zsh/site-functions/_swayimg
  11. /usr/local/share/licenses/swayimg-4.7/catalog.mk
  12. /usr/local/share/licenses/swayimg-4.7/LICENSE
  13. /usr/local/share/licenses/swayimg-4.7/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • swayimg>0:x11/swayimg
To install the port:
cd /usr/ports/x11/swayimg/ && make install clean
To add the package, run one of these commands:
  • pkg install x11/swayimg
  • pkg install swayimg
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: swayimg
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1768318850 SHA256 (artemsen-swayimg-v4.7_GH0.tar.gz) = 342952aa30f62f163dfcb36448d7f2a860abf972bb24690d2e49b28b6f2ba7cc SIZE (artemsen-swayimg-v4.7_GH0.tar.gz) = 793940

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash-completion>0 : shells/bash-completion
  2. wayland-protocols>=1.35 : graphics/wayland-protocols
  3. update-desktop-database : devel/desktop-file-utils
  4. meson : devel/meson
  5. ninja : devel/ninja
  6. pkgconf>=1.3.0_1 : devel/pkgconf
Test dependencies:
  1. googletest>0 : devel/googletest
Runtime dependencies:
  1. update-desktop-database : devel/desktop-file-utils
Library dependencies:
  1. libfreetype.so : print/freetype2
  2. libfontconfig.so : x11-fonts/fontconfig
  3. libxkbcommon.so : x11/libxkbcommon
  4. libinotify.so : devel/libinotify
  5. libavif.so : graphics/libavif
  6. libdrm.so : graphics/libdrm
  7. libgif.so : graphics/giflib
  8. libheif.so : graphics/libheif
  9. libjson-c.so : devel/json-c
  10. libjxl.so : graphics/libjxl
  11. libexif.so : graphics/libexif
  12. libOpenEXR.so : graphics/openexr
  13. libpng.so : graphics/png
  14. libraw.so : graphics/libraw
  15. libsixel.so : graphics/libsixel
  16. libtiff.so : graphics/tiff
  17. libwayland-client.so : graphics/wayland
  18. libwebpdemux.so : graphics/webp
  19. libjpeg.so : graphics/jpeg-turbo
  20. libcairo.so : graphics/cairo
  21. libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
  22. libglib-2.0.so : devel/glib20
  23. libintl.so : devel/gettext-runtime
  24. librsvg-2.so : graphics/librsvg2-rust
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for swayimg-4.7: AVIF=on: AV1 Image File Format via libavif BASH=on: Install programmable completions for Bash GIF=on: GIF image format support HEIF=on: ISO/IEC 23008-12:2017 HEIF file format support JPEG=on: JPEG image format support JSON=on: JSON file/format/parser support JXL=on: JPEG XL image format via libjxl LIBEXIF=on: EXIF metadata support via libexif LIBRSVG2=on: SVG vector graphics support via librsvg2 OPENEXR=on: HDR image format support via OpenEXR PNG=on: PNG image format support RAW=on: RAW format support SIXEL=on: Sixel graphics support TIFF=on: TIFF image format support WEBP=on: WebP image format support ZSH=on: Install programmable completions for zsh ====> GUI (Graphical User Interface) support: you have to choose at least one of them DRM=on: KMS console support WAYLAND=on: Wayland (graphics) support ===> Use 'make config' to modify these settings
Options name:
x11_swayimg
USES:
desktop-file-utils meson pkgconfig jpeg gnome
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/artemsen/swayimg/tar.gz/v4.7?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.7
16 Jan 2026 08:28:46
commit hash: bba7a6ff23b177bc55fd3e7bc5e822526a5addf7commit hash: bba7a6ff23b177bc55fd3e7bc5e822526a5addf7commit hash: bba7a6ff23b177bc55fd3e7bc5e822526a5addf7commit hash: bba7a6ff23b177bc55fd3e7bc5e822526a5addf7 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
x11/swayimg: update to 4.7

Changes:	https://github.com/artemsen/swayimg/releases/tag/v4.7
Reported by:	GitHub (watch releases)

(cherry picked from commit 441e1d248893c6e1101133db723aebdf3feccd83)

Number of commits found: 1