summaryrefslogtreecommitdiff
path: root/config.d
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2016-12-03 12:38:42 -0500
committerDrew DeVault <[email protected]>2016-12-03 12:38:42 -0500
commite7a764fdf450a8259ddbc17446dd720fa1157b44 (patch)
treee0ec272832e88e6c8d92719efa70c6749452daff /config.d
parent93d99f37126b93176677fb22cf7500d10f3db6e4 (diff)
Disallow everything by default
And update config.d/security to configure sane defaults
Diffstat (limited to 'config.d')
-rw-r--r--config.d/security.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.d/security.in b/config.d/security.in
index b5690dc7..47592b05 100644
--- a/config.d/security.in
+++ b/config.d/security.in
@@ -6,13 +6,12 @@
# installation.
# Configures which programs are allowed to use which sway features
+permit * fullscreen keyboard mouse ipc
permit __PREFIX__/bin/swaylock lock
permit __PREFIX__/bin/swaybar panel
permit __PREFIX__/bin/swaybg background
permit __PREFIX__/bin/swaygrab screenshot
-permit * fullscreen keyboard mouse
-
# Configures which IPC features are enabled
ipc {
command enabled
@@ -36,6 +35,8 @@ ipc {
# Limits the contexts from which certain commands are permitted
commands {
+ * all
+
fullscreen binding criteria
bindsym config
exit binding