diff --git a/dot_config/wireplumber/wireplumber.conf.d/51-disable-suspension.conf b/dot_config/wireplumber/wireplumber.conf.d/51-disable-suspension.conf new file mode 100644 index 0000000..391a68e --- /dev/null +++ b/dot_config/wireplumber/wireplumber.conf.d/51-disable-suspension.conf @@ -0,0 +1,40 @@ +# regular devices +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 + } + } + } +]