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.]]

Emerge
Install with:

1. Set  for

2.

3.

3. Make sure that emerge pulled version 9999 with desired USE flags.

Current version of sway 0.15.2 in gentoo repository is outdated. It's recommended to use 9999 version instead.

--- Emerge section updated by Kreyren (talk) 13:42, 8 September 2018 (UTC) based on info from #sway IRC and Github.

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:

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
Invoke  from TTY to execute sway WM.

If you encounter any issues check Troubleshooting before contacting #sway on IRC.

Usage
All most key combos 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-combo to open a terminal emulator is +.