BSD Ports

x11-wm/sway 1.11_1 MidnightBSD

I3-compatible Wayland compositor

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
x11-wm, wayland

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.

In the other systems

The newest version among them is 1.12, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDx11-wm/sway1.11_1no data-[email protected]-
FreeBSDx11-wm/sway1.12 newestnone known-[email protected]2026-07-01
OpenBSDwayland/sway by name1.12 newestno data-The OpenBSD ports mailing-list <[email protected]>-
HardenedBSDx11-wm/sway1.12 newestno data-[email protected]-
GhostBSDx11-wm/sway1.12 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install sway

From mports:

cd /usr/mports/x11-wm/sway && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	sway>0:x11-wm/sway

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 2

Library 9

Build dependencies 11
Run dependencies 9
Required by 1

Configuration

Options name: x11-wm_sway

OptionDefaultDescription
BASUonTray in swaybar via basu
MANPAGESon
PIXBUFon
SWAYBGonDefault command to set background
X11on
USES
compiler:c11 gnome meson pkgconfig xorg
Service scripts
none
Conflicts with
sway-devel swayfx

Files

Manual pages 10
  • sway(1)
  • sway(5)
  • sway-bar(5)
  • sway-input(5)
  • sway-ipc(7)
  • sway-output(5)
  • swaybar-protocol(7)
  • swaymsg(1)
  • swaynag(1)
  • swaynag(5)
pkg-plist 32
  • bin/sway
  • bin/swaybar
  • bin/swaymsg
  • bin/swaynag
  • @sample etc/sway/config.sample
  • share/man/man1/sway.1.gz
  • share/man/man1/swaymsg.1.gz
  • share/man/man1/swaynag.1.gz
  • share/man/man5/sway-bar.5.gz
  • share/man/man5/sway-input.5.gz
  • share/man/man5/sway-output.5.gz
  • share/man/man5/sway.5.gz
  • share/man/man5/swaynag.5.gz
  • share/man/man7/sway-ipc.7.gz
  • share/man/man7/swaybar-protocol.7.gz
  • share/backgrounds/sway/Sway_Wallpaper_Blue_1136x640.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_1136x640_Portrait.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_1366x768.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536_Portrait.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_768x1024.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_768x1024_Portrait.png
  • share/bash-completion/completions/sway
  • share/bash-completion/completions/swaybar
  • share/bash-completion/completions/swaymsg
  • share/fish/vendor_completions.d/sway.fish
  • share/fish/vendor_completions.d/swaymsg.fish
  • share/fish/vendor_completions.d/swaynag.fish
  • share/wayland-sessions/sway.desktop
  • share/zsh/site-functions/_sway
  • share/zsh/site-functions/_swaymsg
distinfo 1
FileSizeSHA256
swaywm-sway-1.11_GH0.tar.gz5.583731e+06034ec4519326d6af5275814700dde46e852c5174614109affe4c86b2fbee062a