aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-12-02 10:13:06 -0500
committerDrew DeVault <sir@cmpwn.com>2016-12-02 10:13:06 -0500
commit4d312f753c74beadfe26b4cdb4599e7e06fe55a8 (patch)
tree954e1b51c8277ddf9870d127b3777b16f1d7bbe3
parent3dbeb9c35cd3cd71b318370b776bdaa00436a356 (diff)
Add docs on what features sway programs require
-rw-r--r--sway/sway-security.7.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/sway/sway-security.7.txt b/sway/sway-security.7.txt
index f3d4a229..37c71260 100644
--- a/sway/sway-security.7.txt
+++ b/sway/sway-security.7.txt
@@ -115,6 +115,13 @@ process to be able to access _/proc/[pid]/exe_ (see **procfs(5)** for details on
this access - setcap cap_sys_ptrace=eip /usr/bin/sway should do the trick). If
sway is unable to read _/proc/[pid]/exe_, it will apply the default policy.
+To work correctly, sway's own programs require the following permissions:
+
+- swaybg: background
+- swaylock: lock, keyboard
+- swaybar: panel, mouse
+- swaygrab: screenshot
+
Command policies
----------------