Adding lots of cool stuff to dotfiles
This commit is contained in:
18
.config/wireplumber/bluetooth.lua.d/30-bluez-monitor.lua
Normal file
18
.config/wireplumber/bluetooth.lua.d/30-bluez-monitor.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
bluez_monitor = {}
|
||||
bluez_monitor.properties = {}
|
||||
bluez_monitor.rules = {}
|
||||
|
||||
function bluez_monitor.enable()
|
||||
if bluez_monitor.enabled == false then
|
||||
return
|
||||
end
|
||||
|
||||
load_monitor("bluez", {
|
||||
properties = bluez_monitor.properties,
|
||||
rules = bluez_monitor.rules,
|
||||
})
|
||||
|
||||
if bluez_monitor.properties["with-logind"] then
|
||||
load_optional_module("logind")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user