diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-12-17 15:19:50 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-12-17 15:21:57 -0500 |
commit | 1172566d4e298aa6c3555a0d606af4ff31d0db48 (patch) | |
tree | a6afcfbbecef26cc6ecaac0fad75268175fe9a51 /config.d | |
parent | Merge pull request #996 from woutershep/datadir (diff) | |
download | sway-1172566d4e298aa6c3555a0d606af4ff31d0db48.tar.gz sway-1172566d4e298aa6c3555a0d606af4ff31d0db48.tar.zst sway-1172566d4e298aa6c3555a0d606af4ff31d0db48.zip |
Change how security config is loaded0.11-rc3
Diffstat (limited to 'config.d')
-rw-r--r-- | config.d/security.in | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/config.d/security.in b/config.d/security.in deleted file mode 100644 index 36170d42..00000000 --- a/config.d/security.in +++ /dev/null | |||
@@ -1,50 +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 | # Configures which programs are allowed to use which sway features | ||
9 | permit * fullscreen keyboard mouse ipc | ||
10 | permit __PREFIX__/bin/swaylock lock | ||
11 | permit __PREFIX__/bin/swaybar panel | ||
12 | permit __PREFIX__/bin/swaybg background | ||
13 | permit __PREFIX__/bin/swaygrab screenshot | ||
14 | |||
15 | # Configures which IPC features are enabled | ||
16 | ipc { | ||
17 | command enabled | ||
18 | outputs enabled | ||
19 | workspaces enabled | ||
20 | tree enabled | ||
21 | marks enabled | ||
22 | bar-config enabled | ||
23 | inputs enabled | ||
24 | |||
25 | events { | ||
26 | workspace enabled | ||
27 | output enabled | ||
28 | mode enabled | ||
29 | window enabled | ||
30 | input enabled | ||
31 | binding disabled | ||
32 | } | ||
33 | } | ||
34 | |||
35 | # Limits the contexts from which certain commands are permitted | ||
36 | commands { | ||
37 | * all | ||
38 | |||
39 | fullscreen binding criteria | ||
40 | bindsym config | ||
41 | exit binding | ||
42 | kill binding | ||
43 | |||
44 | # You should not change these unless you know what you're doing - it could | ||
45 | # cripple your security | ||
46 | reload binding | ||
47 | permit config | ||
48 | reject config | ||
49 | ipc config | ||
50 | } | ||