aboutsummaryrefslogtreecommitdiffstats
path: root/config.d/security.in
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-12-17 15:19:50 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-12-17 15:21:57 -0500
commit1172566d4e298aa6c3555a0d606af4ff31d0db48 (patch)
treea6afcfbbecef26cc6ecaac0fad75268175fe9a51 /config.d/security.in
parentMerge pull request #996 from woutershep/datadir (diff)
downloadsway-1172566d4e298aa6c3555a0d606af4ff31d0db48.tar.gz
sway-1172566d4e298aa6c3555a0d606af4ff31d0db48.tar.zst
sway-1172566d4e298aa6c3555a0d606af4ff31d0db48.zip
Change how security config is loaded0.11-rc3
Diffstat (limited to 'config.d/security.in')
-rw-r--r--config.d/security.in50
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
9permit * fullscreen keyboard mouse ipc
10permit __PREFIX__/bin/swaylock lock
11permit __PREFIX__/bin/swaybar panel
12permit __PREFIX__/bin/swaybg background
13permit __PREFIX__/bin/swaygrab screenshot
14
15# Configures which IPC features are enabled
16ipc {
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
36commands {
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}