From ac903c87522ce47acbbce82f015720554b5f5dab Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Sun, 6 May 2018 00:19:12 +0100 Subject: [PATCH] Revert "security.d: Update install paths for swaybar and swaybg" This reverts commit b4249166f309a46c15dd3a5734594aee961b723b. --- meson.build | 1 - security.d/00-defaults.in | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index e40dc33c..bd20ca99 100644 --- a/meson.build +++ b/meson.build @@ -121,7 +121,6 @@ config = configuration_data() config.set('sysconfdir', join_paths(prefix, sysconfdir)) config.set('datadir', join_paths(prefix, datadir)) config.set('prefix', prefix) -config.set('sway_libexecdir', sway_libexecdir) configure_file( configuration: config, diff --git a/security.d/00-defaults.in b/security.d/00-defaults.in index b5ae1149..e4626477 100644 --- a/security.d/00-defaults.in +++ b/security.d/00-defaults.in @@ -11,9 +11,9 @@ # Configures enabled compositor features for specific programs permit * fullscreen keyboard mouse permit @prefix@/bin/swaylock lock +permit @prefix@/bin/swaybg background permit @prefix@/bin/swaygrab screenshot -permit @sway_libexecdir@/swaybg background -permit @sway_libexecdir@/swaybar panel +permit @prefix@/bin/swaybar panel # Configures enabled IPC features for specific programs ipc @prefix@/bin/swaymsg { @@ -24,7 +24,7 @@ ipc @prefix@/bin/swaymsg { } } -ipc @sway_libexecdir@/swaybar { +ipc @prefix@/bin/swaybar { bar-config enabled outputs enabled workspaces enabled