aboutsummaryrefslogtreecommitdiff
path: root/home/dot_config/wireplumber
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2026-08-02 14:48:29 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2026-08-02 14:48:29 +0200
commite43eb1177872f52e949fb5f0f93396ed94b0d093 (patch)
tree78b73af6a989fa2996d71b112e161b70d35081ef /home/dot_config/wireplumber
parent2f14a896e4b897bd747c24d7ad8e9e7bb3237d03 (diff)
move to chezmoi
Diffstat (limited to 'home/dot_config/wireplumber')
-rw-r--r--home/dot_config/wireplumber/wireplumber.conf.d/50-bluez.conf5
-rw-r--r--home/dot_config/wireplumber/wireplumber.conf.d/50-disable-suspend.conf30
-rw-r--r--home/dot_config/wireplumber/wireplumber.conf.d/50-mpv-fix.conf14
3 files changed, 49 insertions, 0 deletions
diff --git a/home/dot_config/wireplumber/wireplumber.conf.d/50-bluez.conf b/home/dot_config/wireplumber/wireplumber.conf.d/50-bluez.conf
new file mode 100644
index 0000000..c957f73
--- /dev/null
+++ b/home/dot_config/wireplumber/wireplumber.conf.d/50-bluez.conf
@@ -0,0 +1,5 @@
+monitor.bluez.properties = {
+ bluez5.enable-msbc = false
+ bluez5.enable-cvsd = false
+ bluez5.default.rate = 96000
+}
diff --git a/home/dot_config/wireplumber/wireplumber.conf.d/50-disable-suspend.conf b/home/dot_config/wireplumber/wireplumber.conf.d/50-disable-suspend.conf
new file mode 100644
index 0000000..212afe6
--- /dev/null
+++ b/home/dot_config/wireplumber/wireplumber.conf.d/50-disable-suspend.conf
@@ -0,0 +1,30 @@
+monitor.alsa.rules = [
+ {
+ matches = [
+ { node.name = "~alsa_input.*" }
+ { node.name = "~alsa_output.*" }
+ ]
+ actions = {
+ update-props = {
+ session.suspend-timeout-seconds = 0
+ }
+ }
+ }
+]
+
+monitor.bluez.rules = [
+ {
+ matches = [
+ { node.name = "~bluez_input.*" }
+ { node.name = "~bluez_output.*" }
+ ]
+ actions = {
+ update-props = {
+ audio.format = "S24_3LE"
+ audio.rate = 96000
+ session.suspend-timeout-seconds = 0
+ }
+ }
+ }
+]
+
diff --git a/home/dot_config/wireplumber/wireplumber.conf.d/50-mpv-fix.conf b/home/dot_config/wireplumber/wireplumber.conf.d/50-mpv-fix.conf
new file mode 100644
index 0000000..fa83de5
--- /dev/null
+++ b/home/dot_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
+ }
+ }
+ }
+]
+