Sway

Sway (contracted from SirCmpwn's Wayland compositor) is Article description::an open-source [[Wayland compositor that is designed to be compatible with the i3 window manager.]]

Configuration
To view all available configuration options:

Files
Each user running sway can edit the default configuration file in order to run a customized sway session. Gentoo stores this file at its default location:

Terminal emulator
By default the sway configuration file uses the terminal emulator (found in the  package). It is a good idea to emerge this terminal emulator so that a terminal will be available once sway is running:

Another popular choice is which works natively with Wayland if the   environment variable is set to.

HiDPI
To adjust sway's rendering for HiDPI displays (4K and above), the name of the display to be adjusted must be obtained. After a sway session is running, issue the following:

The  statement in the sway configuration file will accept a   parameter to adjust the scaling of the high resolution display.

Executing sway
Before running Sway, ensure that your user is in the and  groups:

Invoke  from TTY to execute Sway.

If you use instead of systemd or elogind, run Sway using:

If you encounter any issues check Sway issues on GitHub before contacting #sway on IRC or filing a new bug on https://bugs.gentoo.org/.

Usage
All most key combinations will be defined in the configuration file.

The 'logo' key is defined as the  value by default. On most keyboards this will be the Windows key.

Movement
Sway has a Vi-like interface. (left), (down),  (up), and  (right) can be used for movement.

See for more information.

Terminal
The default key combination to open a terminal emulator is +.