mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 02:47: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
|
@ -44,12 +44,6 @@ _\*編譯時相依_
|
|||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
在沒有 logind 的系統上,你需要為 sway 的執行檔加上 suid。
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
Sway 在啟動不久後就會放棄 root 權限。
|
||||
|
||||
## 設定檔
|
||||
|
||||
如果你已經在使用 i3,你可以直接將你的 i3 設定檔複製到 `~/.config/sway/config` 然後就能直接使用。
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue