From 68caa8deba08d2a24d73760d9f7808a94e3fe693 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 12 Sep 2023 04:27:04 +0200 Subject: readme: Stop recommending setuid bit for non-logind systems - Optional since Sway 1.6 per swaywm/wlroots@bad1e9afa8ea - Deprecated in Sway 1.7 per 67d3d952b6cd - Removed in Sway 1.8 per e5728052b59f - Ignored in future versions (keeps root priveleges) --- README.zh-CN.md | 6 ------ 1 file changed, 6 deletions(-) (limited to 'README.zh-CN.md') diff --git a/README.zh-CN.md b/README.zh-CN.md index b057bfb8..a6f4518a 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -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`。 -- cgit v1.2.3