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
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Commit processing is stalled - it is a jail issue. I will work on it later today. 2025-09-17 12:17 UTC - It has been fixed. Sometime before 17:27 UTC.
Port details
sway i3-compatible Wayland compositor
1.11_1 x11-wm on this many watch lists=7 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 1.11_1Version of this port present on the latest quarterly branch.
Maintainer: jbeich@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-01-06 13:28:39
Last Update: 2025-09-15 11:48:31
Commit Hash: 6cb13b9
People watching this port, also watch:: wl-clipboard, doas, pkg, seatd, wget
Also Listed In: wayland
License: MIT
WWW:
https://swaywm.org/
Description:
Sway is a tiling Wayland compositor and a drop-in replacement for the i3 window manager for X11. It works with your existing i3 configuration and supports most of i3's features, plus a few extras.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (38 items)
Collapse this list.
  1. /usr/local/share/licenses/sway-1.11_1/catalog.mk
  2. /usr/local/share/licenses/sway-1.11_1/LICENSE
  3. /usr/local/share/licenses/sway-1.11_1/MIT
  4. bin/sway
  5. bin/swaybar
  6. bin/swaymsg
  7. bin/swaynag
  8. @sample etc/sway/config.sample
  9. share/man/man1/sway.1.gz
  10. share/man/man1/swaymsg.1.gz
  11. share/man/man1/swaynag.1.gz
  12. share/man/man5/sway-bar.5.gz
  13. share/man/man5/sway-input.5.gz
  14. share/man/man5/sway-output.5.gz
  15. share/man/man5/sway.5.gz
  16. share/man/man5/swaynag.5.gz
  17. share/man/man7/sway-ipc.7.gz
  18. share/man/man7/swaybar-protocol.7.gz
  19. share/backgrounds/sway/Sway_Wallpaper_Blue_1136x640.png
  20. share/backgrounds/sway/Sway_Wallpaper_Blue_1136x640_Portrait.png
  21. share/backgrounds/sway/Sway_Wallpaper_Blue_1366x768.png
  22. share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png
  23. share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536.png
  24. share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536_Portrait.png
  25. share/backgrounds/sway/Sway_Wallpaper_Blue_768x1024.png
  26. share/backgrounds/sway/Sway_Wallpaper_Blue_768x1024_Portrait.png
  27. share/bash-completion/completions/sway
  28. share/bash-completion/completions/swaybar
  29. share/bash-completion/completions/swaymsg
  30. share/fish/vendor_completions.d/sway.fish
  31. share/fish/vendor_completions.d/swaymsg.fish
  32. share/fish/vendor_completions.d/swaynag.fish
  33. share/wayland-sessions/sway.desktop
  34. share/zsh/site-functions/_sway
  35. share/zsh/site-functions/_swaymsg
  36. @owner
  37. @group
  38. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • sway>0:x11-wm/sway
Conflicts:
CONFLICTS_INSTALL:
  • sway-devel
  • swayfx
To install the port:
cd /usr/ports/x11-wm/sway/ && make install clean
To add the package, run one of these commands:
  • pkg install x11-wm/sway
  • pkg install sway
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: sway
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1749416947 SHA256 (swaywm-sway-1.11_GH0.tar.gz) = 034ec4519326d6af5275814700dde46e852c5174614109affe4c86b2fbee062a SIZE (swaywm-sway-1.11_GH0.tar.gz) = 5583731

Packages (timestamps in pop-ups are UTC):
sway
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.111.11_11.5.1_11.111.11_1---
FreeBSD:13:quarterly1.111.11_1-1.111.11_1-1.8.1_21.8.1_2
FreeBSD:14:latest1.111.11_1-1.111.11_11.8.1_1-1.8.1_1
FreeBSD:14:quarterly1.111.11_1-1.111.11_1-1.8.1_21.8.1_2
FreeBSD:15:latest1.111.11_1n/a1.11n/a-1.8.1_3-
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. evdev-proto>0 : devel/evdev-proto
  2. wayland-protocols>=1.24 : graphics/wayland-protocols
  3. scdoc>=1.9.2 : textproc/scdoc
  4. meson : devel/meson
  5. ninja : devel/ninja
  6. pkgconf>=1.3.0_1 : devel/pkgconf
  7. pixman-1.pc : x11/pixman
  8. xcb.pc : x11/libxcb
Runtime dependencies:
  1. swaybg : x11/swaybg
  2. pixman-1.pc : x11/pixman
  3. xcb.pc : x11/libxcb
Library dependencies:
  1. libjson-c.so : devel/json-c
  2. libevdev.so : devel/libevdev
  3. libudev.so : devel/libudev-devd
  4. libpcre2-8.so : devel/pcre2
  5. libdrm.so : graphics/libdrm
  6. libwayland-egl.so : graphics/wayland
  7. libwlroots-0.19.so : x11-toolkits/wlroots019
  8. libinput.so : x11/libinput
  9. libxkbcommon.so : x11/libxkbcommon
  10. libbasu.so : devel/basu
  11. libxcb-icccm.so : x11/xcb-util-wm
  12. libcairo.so : graphics/cairo
  13. libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
  14. libglib-2.0.so : devel/glib20
  15. libintl.so : devel/gettext-runtime
  16. libharfbuzz.so : print/harfbuzz
  17. libpango-1.0.so : x11-toolkits/pango
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for sway-1.11_1: BASU=on: Tray in swaybar via basu MANPAGES=on: Build and/or install manual pages PIXBUF=on: GDK-PixBuf library support SWAYBG=on: Default command to set background X11=on: X11 (graphics) support ===> Use 'make config' to modify these settings
Options name:
x11-wm_sway
USES:
compiler:c11 gnome meson pkgconfig xorg
pkg-message:
For install:
Notes: - sway(1) can use mac_priority(4) to avoid stutter during high load
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/swaywm/sway/tar.gz/1.11?dummy=/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2021-09-12
    Affects: x11-wm/cage, x11-wm/hikari, x11-wm/labwc, x11-wm/sway, x11-wm/wayfire
    Author: jbeich@FreeBSD.org
    Reason: 
      SUID option has been removed in favor of seatd-launch(1) which doesn't
      require special handling in every consumer and doesn't bypass group
      permissions. If you've already enabled seatd service or use consolekit2
      then nothing changes. Otherwise,
    
        $ sway
        00:00:00.001 [ERROR] [wlr] [libseat] [libseat/libseat.c:83] No backend was able to open a seat
        00:00:00.001 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented
        00:00:00.001 [ERROR] [wlr] [backend/session/session.c:218] Failed to load session backend
        00:00:00.001 [ERROR] [wlr] [backend/backend.c:353] Failed to start a DRM session
        00:00:00.001 [ERROR] [sway/server.c:53] Unable to create backend
    
      can be fixed by
    
        $ ck-launch-session sway
    
      or
    
        $ seatd-launch sway
    
      or
    
        # sysrc seatd_enable=YES
        # service seatd start
        $ sway
    
      Replace "sway" with your compositor e.g., "cage", "hikari", "labwc", "wayfire".
    
    
Port Moves
  • port moved here from x11-wm/sway-devel on 2024-10-27
    REASON: Out of date: use x11-wm/sway for now

Number of commits found: 117 (showing only 17 on this page)

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.0.r2
11 Feb 2019 23:44:13
Revision:492738Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.r2

Changes:	https://github.com/swaywm/sway/releases/tag/1.0-rc2
1.0.r1
03 Feb 2019 15:00:06
Revision:492053Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.r1

Changes:	https://github.com/swaywm/sway/releases/tag/1.0-rc1
Changes:	https://github.com/swaywm/sway/compare/de76c4e0...1.0-rc1
Changes:	https://github.com/swaywm/wlroots/compare/28f11aec...0.3
1.0.b.2.304
01 Feb 2019 23:43:42
Revision:491894Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.b.2.304

Changes:	https://github.com/swaywm/sway/compare/5cb3d476...de76c4e0
Changes:	https://github.com/swaywm/wlroots/compare/41af8d84...28f11aec
1.0.b.2.291
31 Jan 2019 15:57:47
Revision:491738Original commit files touched by this commit
jbeich search for other commits by this committer
textproc/scdoc: update to 1.8.1

Changes:	https://git.sr.ht/%7Esircmpwn/scdoc/refs/1.8.1
1.0.b.2.291
30 Jan 2019 17:18:00
Revision:491634Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.b.2.291

Changes:	https://github.com/swaywm/sway/compare/606f6a37...5cb3d476
Changes:	https://github.com/swaywm/wlroots/compare/9fe8e379...41af8d84
Changes:	https://github.com/swaywm/swaylock/compare/ecc8402...effdea5
1.0.b.2.287
29 Jan 2019 00:47:06
Revision:491530Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.b.2.282

Changes:	https://github.com/swaywm/sway/compare/5f45a4bb...606f6a37
Changes:	https://github.com/swaywm/wlroots/compare/209210d3...9fe8e379
Changes:	https://github.com/swaywm/swayidle/compare/f002a7a...d18c7cb
Changes:	https://github.com/swaywm/swaylock/compare/368f53e...ecc8402
1.0.b.2.274
26 Jan 2019 00:43:17
Revision:491216Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.b.2.274

Changes:	https://github.com/swaywm/sway/compare/1a1133dc...5f45a4bb
Changes:	https://github.com/swaywm/wlroots/compare/c41d0130...209210d3
Changes:	https://github.com/swaywm/swaylock/compare/72d15f8...f002a7a
Changes:	https://github.com/swaywm/swaylock/compare/3d94a60...368f53e
1.0.b.2.270_1
24 Jan 2019 20:26:37
Revision:491116Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: back out r490400

- Upstream doesn't want a terminal chooser
- xkb_rules evdev breaks input on X11 sessions i.e., xf86-input-keyboard
1.0.b.2.270
24 Jan 2019 10:07:07
Revision:491087Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: bump required wlroots version after r491073

../sway/server.c:7:10: fatal error: 'wlr/backend/noop.h' file not found
 #include <wlr/backend/noop.h>
          ^~~~~~~~~~~~~~~~~~~~
1.0.b.2.270
24 Jan 2019 00:14:46
Revision:491073Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.b.2.270

Changes:	https://github.com/swaywm/sway/compare/410c9613...1a1133dc
Changes:	https://github.com/swaywm/wlroots/compare/b619ab4d...c41d0130
Changes:	https://github.com/swaywm/swaylock/compare/4e72a36...3d94a60
1.0.b.2.243
22 Jan 2019 00:42:14
Revision:490913Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.b.2.243

Changes:	https://github.com/swaywm/sway/compare/1cce14e7...410c9613
Changes:	https://github.com/swaywm/wlroots/compare/5dde2e79...b619ab4d
Changes:	https://github.com/swaywm/swayidle/compare/c94949d...72d15f8
Changes:	https://github.com/swaywm/swaylock/compare/52eeb9f...4e72a36
1.0.b.2.226
19 Jan 2019 00:32:43
Revision:490689Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.b.2.226

Changes:	https://github.com/swaywm/sway/compare/70637b40...1cce14e7
Changes:	https://github.com/swaywm/wlroots/compare/10b1de6e...5dde2e79
Changes:	https://github.com/swaywm/swayidle/compare/1.1...c94949d
Changes:	https://github.com/swaywm/swaylock/compare/1.2...52eeb9f
1.0.b.2.204
16 Jan 2019 19:17:40
Revision:490501Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.b.2.204

Changes:	https://github.com/swaywm/sway/compare/2573606b...70637b40
Changes:	https://github.com/swaywm/wlroots/compare/10a2c4ed...10b1de6e
1.0.b.2.189_1
15 Jan 2019 20:42:13
Revision:490400Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: improve default config

- Don't hardcode urxvt
- Make Windows key work
1.0.b.2.189
15 Jan 2019 18:06:50
Revision:490395Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: explain why SUID is enabled

Sway needs setuid bit on DRM when (e)logind isn't available. When
running only on X11 setuid bit can be disabled.
1.0.b.2.189
15 Jan 2019 00:52:45
Revision:490329Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.b.2.189

The last beta is several months old, so use a snapshot to help users
evaluate the current state.

Changes:	https://github.com/swaywm/sway/compare/1.0-beta.2...2573606b
Changes:	https://github.com/swaywm/wlroots/compare/0.2...10a2c4ed
1.0.b.2
06 Jan 2019 13:28:25
Revision:489493Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: add new port

Sway is a tiling Wayland compositor and a drop-in replacement for the
i3 window manager for X11. It works with your existing i3 configuration
and supports most of i3's features, plus a few extras.

https://swaywm.org/

Number of commits found: 117 (showing only 17 on this page)

«  1 | 2