1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-05-28 14:06:35 +02:00
i3-compatible Wayland compositor https://swaywm.org
Go to file
Max Bruckner 0ac6409a75 Add Wayland and Xorg session files
This allows display managers to detect sway.
2015-08-20 23:12:34 +02:00
CMake Find a2x through CMake 2015-08-18 07:06:07 -04:00
include added IPC messages get_workspaces and get_outputs 2015-08-20 21:13:01 +02:00
sway added IPC messages get_workspaces and get_outputs 2015-08-20 21:13:01 +02:00
.gitignore Add command line parsing 2015-08-20 08:37:24 -04:00
CMakeLists.txt Add Wayland and Xorg session files 2015-08-20 23:12:34 +02:00
LICENSE MIT license 2015-08-04 21:31:07 -04:00
README.md Improve README (more) 2015-08-18 16:18:15 -04:00
config Fix comments in config file 2015-08-18 06:42:48 -04:00
sway-xorg.desktop Add Wayland and Xorg session files 2015-08-20 23:12:34 +02:00
sway.1.txt disable tilde subscripting to fix manpage 2015-08-18 12:12:12 +02:00
sway.5.txt changes 2015-08-20 04:24:39 -07:00
sway.desktop Add Wayland and Xorg session files 2015-08-20 23:12:34 +02:00

sway

"SirCmpwn's Wayland window manager" is a work in progress i3-compatible window manager for Wayland. Read the FAQ.

Rationale

I use i3 on xorg. Wayland is coming, and i3way still has zero lines of source code after two years.

Status

See "i3 feature support"

Installation

From Packages

sway is not supported by many distributions yet. Here's a list of packages available for you to install:

Compiling from Source

Install dependencies:

  • cmake
  • wlc
  • xwayland
  • asciidoc

Run these commands:

cmake .
make
sudo make install

Configuration

If you already use i3, then copy your i3 config to ~/.config/sway/config and it'll work out of the box. Otherwise, copy /etc/sway/config to ~/.config/sway/config. Run man 5 sway for information on the configuration.

Running

Run this from a tty (instead of starting x):

sway

If you run it from within x, it will spawn x windows instead of using your hardware directly (useful for development).