aboutsummaryrefslogtreecommitdiff
path: root/.config/wireplumber/main.lua.d
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-09 22:07:14 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-09 22:07:14 +0100
commitbe2e6dccf2897c0ba82924bba9da6eb23f5b36ce (patch)
treebb9c4ed82927995bbb6ff84cf19d1a1b64210831 /.config/wireplumber/main.lua.d
parentc38e35e0cfbba73eb1ccc0a1b2fcec49f56c416e (diff)
disable suspend in wireplumber
Diffstat (limited to '.config/wireplumber/main.lua.d')
-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, },
+});
+