aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/wireplumber/main.lua.d/50-disable-suspend.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/wireplumber/main.lua.d/50-disable-suspend.lua b/.config/wireplumber/main.lua.d/50-disable-suspend.lua
new file mode 100644
index 0000000..9b731a0
--- /dev/null
+++ b/.config/wireplumber/main.lua.d/50-disable-suspend.lua
@@ -0,0 +1,8 @@
+table.insert(alsa_monitor.rules, {
+ matches = {
+ { { "node.name", "matches", "alsa_input.*" }, },
+ { { "node.name", "matches", "alsa_output.*" }, },
+ },
+ apply_properties = { ["session.suspend-timeout-seconds"] = 0, },
+});
+