diff options
author | 2017-02-19 02:36:36 -0500 | |
---|---|---|
committer | 2017-02-19 02:56:59 -0500 | |
commit | 7dbecdde95d1f309d8fdd02fe480dc3fbef7c7c1 (patch) | |
tree | 303b3632a576fac27835523872f8286adbd35d9b /security.in | |
parent | Merge pull request #1075 from zandrmartin/floating-positioning (diff) | |
download | sway-7dbecdde95d1f309d8fdd02fe480dc3fbef7c7c1.tar.gz sway-7dbecdde95d1f309d8fdd02fe480dc3fbef7c7c1.tar.zst sway-7dbecdde95d1f309d8fdd02fe480dc3fbef7c7c1.zip |
Revise IPC security configuration
Diffstat (limited to 'security.in')
-rw-r--r-- | security.in | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/security.in b/security.in deleted file mode 100644 index 16897ade..00000000 --- a/security.in +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | # sway security rules | ||
2 | # | ||
3 | # Read sway-security(7) for details on how to secure your sway install. | ||
4 | # | ||
5 | # You MUST read this man page if you intend to attempt to secure your sway | ||
6 | # installation. | ||
7 | # | ||
8 | # This file should live at __SYSCONFDIR__/sway/security and will be | ||
9 | # automatically read by sway. | ||
10 | |||
11 | # Configures which programs are allowed to use which sway features | ||
12 | permit * fullscreen keyboard mouse ipc | ||
13 | permit __PREFIX__/bin/swaylock lock | ||
14 | permit __PREFIX__/bin/swaybar panel | ||
15 | permit __PREFIX__/bin/swaybg background | ||
16 | permit __PREFIX__/bin/swaygrab screenshot | ||
17 | |||
18 | # Configures which IPC features are enabled | ||
19 | ipc { | ||
20 | command enabled | ||
21 | outputs enabled | ||
22 | workspaces enabled | ||
23 | tree enabled | ||
24 | marks enabled | ||
25 | bar-config enabled | ||
26 | inputs enabled | ||
27 | |||
28 | events { | ||
29 | workspace enabled | ||
30 | output enabled | ||
31 | mode enabled | ||
32 | window enabled | ||
33 | input enabled | ||
34 | binding disabled | ||
35 | } | ||
36 | } | ||
37 | |||
38 | # Limits the contexts from which certain commands are permitted | ||
39 | commands { | ||
40 | * all | ||
41 | |||
42 | fullscreen binding criteria | ||
43 | bindsym config | ||
44 | exit binding | ||
45 | kill binding | ||
46 | } | ||