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.
48 lines
1.0 KiB
48 lines
1.0 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
|
|
||
8 years ago
|
# Configures enabled compositor features for specific programs
|
||
|
permit * fullscreen keyboard mouse
|
||
8 years ago
|
permit __PREFIX__/bin/swaylock lock
|
||
|
permit __PREFIX__/bin/swaybg background
|
||
|
permit __PREFIX__/bin/swaygrab screenshot
|
||
8 years ago
|
permit __PREFIX__/bin/swaybar panel
|
||
8 years ago
|
|
||
8 years ago
|
# Configures enabled IPC features for specific programs
|
||
|
ipc __PREFIX__/bin/swaymsg {
|
||
|
* enabled
|
||
8 years ago
|
|
||
|
events {
|
||
8 years ago
|
* disabled
|
||
8 years ago
|
}
|
||
|
}
|
||
|
|
||
8 years ago
|
ipc __PREFIX__/bin/swaybar {
|
||
|
bar-config enabled
|
||
|
outputs enabled
|
||
|
workspaces enabled
|
||
|
command enabled
|
||
|
}
|
||
|
|
||
|
ipc __PREFIX__/bin/swaygrab {
|
||
|
outputs enabled
|
||
|
tree enabled
|
||
|
}
|
||
|
|
||
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
|
}
|