mirror of
https://github.com/swaywm/sway.git
synced 2025-11-25 06:59:48 -05:00
Disallow everything by default
And update config.d/security to configure sane defaults
This commit is contained in:
parent
93d99f3712
commit
e7a764fdf4
4 changed files with 34 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue