mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-09 10:58:05 +02:00
config: split flatpak access configuration
This commit is contained in:
parent
24a260030b
commit
6690f12637
2 changed files with 8 additions and 13 deletions
|
|
@ -51,16 +51,3 @@ load_script("suspend-node.lua")
|
|||
|
||||
-- Automatically sets device profiles to 'On'
|
||||
load_module("device-activation")
|
||||
|
||||
function enable_access()
|
||||
-- Flatpak access
|
||||
load_access("flatpak")
|
||||
|
||||
-- Enables portal permissions via org.freedesktop.impl.portal.PermissionStore
|
||||
load_module("portal-permissionstore")
|
||||
|
||||
-- Portal access
|
||||
load_access("portal")
|
||||
end
|
||||
|
||||
enable_access()
|
||||
|
|
|
|||
8
src/config/config.lua.d/90-access-flatpak.lua
Normal file
8
src/config/config.lua.d/90-access-flatpak.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- Enables portal permissions via org.freedesktop.impl.portal.PermissionStore
|
||||
load_module("portal-permissionstore")
|
||||
|
||||
-- Flatpak access
|
||||
load_access("flatpak")
|
||||
|
||||
-- Portal access
|
||||
load_access("portal")
|
||||
Loading…
Add table
Reference in a new issue