repo/wayland/sway/README

86 lines
3.8 KiB
Plaintext
Raw Normal View History

2021-08-25 22:22:10 -06:00
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
________________________________________________________________________________
2022-12-26 21:45:18 -07:00
Currently, only vanilla Sway is provided in the repositories. We may resume
maintaining sway-tiny in the future.
2021-08-25 22:22:10 -06:00
+------------------------------------------------------------------------------+
| |
2022-12-26 21:45:18 -07:00
| $ kiss b sway
2021-08-25 22:22:10 -06:00
| |
+------------------------------------------------------------------------------+
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 --------------------------------------------------
2022-12-26 21:45:18 -07:00
One must either have the seatd daemon running or launch sway with
'seatd-launch [args] sway [args]'. Refer also to @/libseat.
2021-08-25 22:22:10 -06:00
--[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.
2022-12-26 21:45:18 -07:00
[007] References
2021-08-25 22:22:10 -06:00
________________________________________________________________________________
2021-08-26 01:01:28 -06:00
[0] https://en.wikipedia.org/wiki/Sway_(window_manager)
2021-08-25 22:22:10 -06:00
[1] $/torvalds/linux/commit/45bc3d26c95a8fc63a7d8668ca9e57ef0883351c