You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.1 KiB
47 lines
1.1 KiB
8 years ago
|
# sway security rules
|
||
|
#
|
||
|
# Read sway-security(7) for details on how to secure your sway install.
|
||
|
#
|
||
|
# You MUST read this man page if you intend to attempt to secure your sway
|
||
|
# installation.
|
||
8 years ago
|
#
|
||
|
# This file should live at __SYSCONFDIR__/sway/security and will be
|
||
|
# automatically read by sway.
|
||
8 years ago
|
|
||
|
# Configures which programs are allowed to use which sway features
|
||
8 years ago
|
permit * fullscreen keyboard mouse ipc
|
||
8 years ago
|
permit __PREFIX__/bin/swaylock lock
|
||
|
permit __PREFIX__/bin/swaybar panel
|
||
|
permit __PREFIX__/bin/swaybg background
|
||
|
permit __PREFIX__/bin/swaygrab screenshot
|
||
8 years ago
|
|
||
|
# Configures which IPC features are enabled
|
||
|
ipc {
|
||
|
command enabled
|
||
|
outputs enabled
|
||
|
workspaces enabled
|
||
|
tree enabled
|
||
|
marks enabled
|
||
|
bar-config enabled
|
||
|
inputs enabled
|
||
|
|
||
|
events {
|
||
|
workspace enabled
|
||
|
output enabled
|
||
|
mode enabled
|
||
|
window enabled
|
||
|
input enabled
|
||
8 years ago
|
binding disabled
|
||
8 years ago
|
}
|
||
|
}
|
||
|
|
||
|
# Limits the contexts from which certain commands are permitted
|
||
|
commands {
|
||
8 years ago
|
* all
|
||
|
|
||
8 years ago
|
fullscreen binding criteria
|
||
8 years ago
|
bindsym config
|
||
8 years ago
|
exit binding
|
||
|
kill binding
|
||
8 years ago
|
}
|