diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -72,14 +72,12 @@ Run these commands: | |||
72 | ninja -C build | 72 | ninja -C build |
73 | sudo ninja -C build install | 73 | sudo ninja -C build install |
74 | 74 | ||
75 | On systems with logind, you need to set a few caps on the binary: | ||
76 | |||
77 | sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway | ||
78 | |||
79 | On systems without logind, you need to suid the sway binary: | 75 | On systems without logind, you need to suid the sway binary: |
80 | 76 | ||
81 | sudo chmod a+s /usr/local/bin/sway | 77 | sudo chmod a+s /usr/local/bin/sway |
82 | 78 | ||
79 | Sway will drop root permissions shortly after startup. | ||
80 | |||
83 | ## Configuration | 81 | ## Configuration |
84 | 82 | ||
85 | If you already use i3, then copy your i3 config to `~/.config/sway/config` and | 83 | If you already use i3, then copy your i3 config to `~/.config/sway/config` and |