Added audio configs.
This commit is contained in:
parent
1cfa18d79d
commit
993e416148
4 changed files with 55 additions and 0 deletions
|
@ -33,3 +33,32 @@ A couple of the plugins need some Node.JS packages installed first.
|
|||
```
|
||||
$ sudo npm install -g tree-sitter tree-sitter-cli typescript typescript-language-server
|
||||
```
|
||||
|
||||
## pipewire
|
||||
|
||||
These are used primarily on non-systemd setups.
|
||||
|
||||
### Requirements
|
||||
|
||||
- [pipewire-pulse](https://docs.pipewire.org/page_man_pipewire-pulse_1.html)
|
||||
- [wireplumber](https://gitlab.freedesktop.org/pipewire/wireplumber)
|
||||
|
||||
### Setup
|
||||
|
||||
```
|
||||
$ cp -r pipewire ~/.config/.
|
||||
```
|
||||
|
||||
## wireplumber
|
||||
|
||||
Usually you don't need anything specific in the wireplumber setup, but I have custom bluetooth configurations for my headsets.
|
||||
|
||||
### Requirements
|
||||
|
||||
None.
|
||||
|
||||
### Setup
|
||||
|
||||
```
|
||||
cp -r wireplumber ~/.config/.
|
||||
```
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
context.exec = [
|
||||
# Always keep one sink loaded, even if it's NULL.
|
||||
{ path = "/usr/bin/pactl" args = "load-module module-always-sink" }
|
||||
# When a new sink/source appears, switch to it automatically. This is what
|
||||
# allows the bluetooth headphones to have priority over the builtin
|
||||
# speakers.
|
||||
{ path = "/usr/bin/pactl" args = "load-module module-switch-on-connect" }
|
||||
]
|
|
@ -0,0 +1,11 @@
|
|||
context.exec = [
|
||||
# They don't recommend it, but I'm starting both the wireplumber media
|
||||
# session and the pulseaudio wrapper from here since I'm running a
|
||||
# non-systemd setup and it works all the time, every time. :)
|
||||
{ path = "/usr/bin/wireplumber" args = ""
|
||||
condition = [ { exec.session-manager = null } { exec.session-manager = true } ] }
|
||||
|
||||
{ path = "/usr/bin/pipewire-pulse" args = ""
|
||||
condition = [ { exec.pipewire-pulse = null } { exec.pipewire-pulse = true } ] }
|
||||
]
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
monitor.bluez.properties = {
|
||||
# I used these for my Mpow H7 Pro headphones for the high quality mode.
|
||||
# Might not need these if I don't use them on this specific machine.
|
||||
bluez5.enable-sbc-xq = true
|
||||
bluez5.enable-msbc = true
|
||||
bluez5.codecs = [sbc sbc_xq]
|
||||
}
|
Loading…
Reference in a new issue