diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-22 22:08:02 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-22 22:08:02 +0100 |
commit | ad88ea8a6d55d2d2e7c881d6fb01c0627d6cc822 (patch) | |
tree | 906fec69fcf7881dbc329ecac60a4c218ca964fc /.config | |
parent | 73c346f13c0d1bfcb1ae82b7a498d657fe80d606 (diff) |
update wireplumber config
Diffstat (limited to '.config')
-rw-r--r-- | .config/wireplumber/main.lua.d/50-disable-suspend.lua | 8 | ||||
-rw-r--r-- | .config/wireplumber/wireplumber.conf.d/50-mpv-fix.conf | 14 |
2 files changed, 14 insertions, 8 deletions
diff --git a/.config/wireplumber/main.lua.d/50-disable-suspend.lua b/.config/wireplumber/main.lua.d/50-disable-suspend.lua deleted file mode 100644 index 9b731a0..0000000 --- a/.config/wireplumber/main.lua.d/50-disable-suspend.lua +++ /dev/null @@ -1,8 +0,0 @@ -table.insert(alsa_monitor.rules, { - matches = { - { { "node.name", "matches", "alsa_input.*" }, }, - { { "node.name", "matches", "alsa_output.*" }, }, - }, - apply_properties = { ["session.suspend-timeout-seconds"] = 0, }, -}); - diff --git a/.config/wireplumber/wireplumber.conf.d/50-mpv-fix.conf b/.config/wireplumber/wireplumber.conf.d/50-mpv-fix.conf new file mode 100644 index 0000000..fa83de5 --- /dev/null +++ b/.config/wireplumber/wireplumber.conf.d/50-mpv-fix.conf @@ -0,0 +1,14 @@ +# <https://howthefu.cc/posts/04/index.html> +stream.rules = [ + { + matches = [ + { application.name = "mpv" } + ] + actions = { + update-props = { + state.restore-props = false + } + } + } +] + |