mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 03:17:46 +03:00
readme: Stop recommending setuid bit for non-logind systems
- Optional since Sway 1.6 per swaywm/wlroots@bad1e9afa8 - Deprecated in Sway 1.7 per67d3d952b6
- Removed in Sway 1.8 pere5728052b5
- Ignored in future versions (keeps root priveleges)
This commit is contained in:
parent
8edc48f6dd
commit
68caa8deba
24 changed files with 0 additions and 149 deletions
|
@ -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`。
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue