readme: Stop recommending setuid bit for non-logind systems

- Optional since Sway 1.6 per swaywm/wlroots@bad1e9afa8
- Deprecated in Sway 1.7 per 67d3d952b6
- Removed in Sway 1.8 per e5728052b5
- Ignored in future versions (keeps root priveleges)
This commit is contained in:
Jan Beich 2023-09-12 04:27:04 +02:00 committed by Kenny Levinsen
parent 8edc48f6dd
commit 68caa8deba
24 changed files with 0 additions and 149 deletions

View file

@ -39,12 +39,6 @@ _\*编译时依赖_
ninja -C build/
sudo ninja -C build/ install
在没有logind或seatd的系统上, 你需要给sway二进制文件设置suid:
sudo chmod a+s /usr/local/bin/sway
启动后,Sway会尽快放弃root权限。
## 配置
如果你已经在使用i3,直接复制i3配置文件到 `~/.config/sway/config`,这是开箱即用的。或者,你可以复制配置样例到`~/.config/sway/config`。它通常位于 `/etc/sway/config`