aboutsummaryrefslogtreecommitdiff
path: root/env/.config/wireplumber
diff options
context:
space:
mode:
Diffstat (limited to 'env/.config/wireplumber')
-rw-r--r--env/.config/wireplumber/wireplumber.conf.d/51-disable-suspension.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/env/.config/wireplumber/wireplumber.conf.d/51-disable-suspension.conf b/env/.config/wireplumber/wireplumber.conf.d/51-disable-suspension.conf
new file mode 100644
index 0000000..a317985
--- /dev/null
+++ b/env/.config/wireplumber/wireplumber.conf.d/51-disable-suspension.conf
@@ -0,0 +1,39 @@
+monitor.alsa.rules = [
+ {
+ matches = [
+ {
+ # Matches all sources
+ node.name = "~alsa_input.*"
+ },
+ {
+ # Matches all sinks
+ node.name = "~alsa_output.*"
+ }
+ ]
+ actions = {
+ update-props = {
+ session.suspend-timeout-seconds = 0
+ }
+ }
+ }
+]
+# bluetooth devices
+monitor.bluez.rules = [
+ {
+ matches = [
+ {
+ # Matches all sources
+ node.name = "~bluez_input.*"
+ },
+ {
+ # Matches all sinks
+ node.name = "~bluez_output.*"
+ }
+ ]
+ actions = {
+ update-props = {
+ session.suspend-timeout-seconds = 0
+ }
+ }
+ }
+]