mirror of
https://github.com/swaywm/sway.git
synced 2025-01-16 08:05:58 +01:00
security.d: Update install paths for swaybar and swaybg
This commit is contained in:
parent
177c67e6b8
commit
b4249166f3
2 changed files with 4 additions and 3 deletions
|
@ -121,6 +121,7 @@ config = configuration_data()
|
||||||
config.set('sysconfdir', join_paths(prefix, sysconfdir))
|
config.set('sysconfdir', join_paths(prefix, sysconfdir))
|
||||||
config.set('datadir', join_paths(prefix, datadir))
|
config.set('datadir', join_paths(prefix, datadir))
|
||||||
config.set('prefix', prefix)
|
config.set('prefix', prefix)
|
||||||
|
config.set('sway_libexecdir', sway_libexecdir)
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
configuration: config,
|
configuration: config,
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
# Configures enabled compositor features for specific programs
|
# Configures enabled compositor features for specific programs
|
||||||
permit * fullscreen keyboard mouse
|
permit * fullscreen keyboard mouse
|
||||||
permit @prefix@/bin/swaylock lock
|
permit @prefix@/bin/swaylock lock
|
||||||
permit @prefix@/bin/swaybg background
|
|
||||||
permit @prefix@/bin/swaygrab screenshot
|
permit @prefix@/bin/swaygrab screenshot
|
||||||
permit @prefix@/bin/swaybar panel
|
permit @sway_libexecdir@/swaybg background
|
||||||
|
permit @sway_libexecdir@/swaybar panel
|
||||||
|
|
||||||
# Configures enabled IPC features for specific programs
|
# Configures enabled IPC features for specific programs
|
||||||
ipc @prefix@/bin/swaymsg {
|
ipc @prefix@/bin/swaymsg {
|
||||||
|
@ -24,7 +24,7 @@ ipc @prefix@/bin/swaymsg {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ipc @prefix@/bin/swaybar {
|
ipc @sway_libexecdir@/swaybar {
|
||||||
bar-config enabled
|
bar-config enabled
|
||||||
outputs enabled
|
outputs enabled
|
||||||
workspaces enabled
|
workspaces enabled
|
||||||
|
|
Loading…
Reference in a new issue