repo/wayland/sway
Owen Rafferty 9c96f455c1
*: use 'meson setup'
closes #165
2023-11-18 14:51:12 -06:00
..
README sway: 1.8 2022-12-26 22:45:18 -06:00
build *: use 'meson setup' 2023-11-18 14:51:12 -06:00
checksums sway: 1.8.1 2023-02-13 18:28:57 -06:00
depends sway: 1.8 2022-12-26 22:45:18 -06:00
post-install sway: 1.8 2022-12-26 22:45:18 -06:00
sources *: remove VERSION markers 2023-03-02 18:00:45 +05:30
version sway: 1.8.1 2023-02-13 18:28:57 -06:00

README

sway
________________________________________________________________________________

Sway is a tiling window manager and Wayland compositor, inspired by i3, and
written in C. Sway is designed as a drop-in replacement for i3 using the more
modern Wayland display server protocol and wlroots compositor library. Sway
works with existing i3 configuration files and supports most of i3's features
while providing several new features of its own. [0]

Upstream: https://swaywm.org/


[000] Index
________________________________________________________________________________

* Installation ........................................................... [001]
* Setup .................................................................. [002]
  * Add User To Input Video And TTY Groups ............................... [003]
  * Setup Seat Management ................................................ [004]
  * Set XDG_RUNTIME_DIR .................................................. [005]
* Usage .................................................................. [006]
* Troubleshooting ........................................................ [007]
* References ............................................................. [008]


[001] Installation
________________________________________________________________________________

Currently, only vanilla Sway is provided in the repositories. We may resume
maintaining sway-tiny in the future.

+------------------------------------------------------------------------------+
|                                                                              |
|  $ kiss b sway
|                                                                              |
+------------------------------------------------------------------------------+

If the system has no fonts, installation of a font is also required.

+------------------------------------------------------------------------------+
|                                                                              |
|  $ kiss b ttf-croscore                                                       |
|                                                                              |
+------------------------------------------------------------------------------+


[002] Setup
________________________________________________________________________________


--[003] Add User To Input Video And TTY Groups ---------------------------------

  +----------------------------------------------------------------------------+
  |                                                                            |
  |  $ addgroup USER input                                                     |
  |  $ addgroup USER video                                                     |
  |  $ addgroup USER tty                                                       |
  |                                                                            |
  +----------------------------------------------------------------------------+


--[004] Setup Seat Management --------------------------------------------------

  One must either have the seatd daemon running or launch sway with
  'seatd-launch [args] sway [args]'. Refer also to @/libseat.


--[005] Set XDG_RUNTIME_DIR ----------------------------------------------------

  This environment variable must be set to a directory that is writable by your
  user. This can be anywhere in theory though /run/user/$(id -u) is recommended.


[006] Usage
________________________________________________________________________________

No documentation is currently provided with the package, refer to online
documentation for the time being.


[007] References
________________________________________________________________________________

[0] https://en.wikipedia.org/wiki/Sway_(window_manager)
[1] $/torvalds/linux/commit/45bc3d26c95a8fc63a7d8668ca9e57ef0883351c