|
|
@ -72,14 +72,12 @@ Run these commands:
|
|
|
|
ninja -C build
|
|
|
|
ninja -C build
|
|
|
|
sudo ninja -C build install
|
|
|
|
sudo ninja -C build install
|
|
|
|
|
|
|
|
|
|
|
|
On systems with logind, you need to set a few caps on the binary:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
On systems without logind, you need to suid the sway binary:
|
|
|
|
On systems without logind, you need to suid the sway binary:
|
|
|
|
|
|
|
|
|
|
|
|
sudo chmod a+s /usr/local/bin/sway
|
|
|
|
sudo chmod a+s /usr/local/bin/sway
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sway will drop root permissions shortly after startup.
|
|
|
|
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
|
|
|
|
If you already use i3, then copy your i3 config to `~/.config/sway/config` and
|
|
|
|
If you already use i3, then copy your i3 config to `~/.config/sway/config` and
|
|
|
|