pipewire: Configure wireplumber
This commit is contained in:
parent
ae9bb4328f
commit
d9e471ba03
4 changed files with 45 additions and 6 deletions
|
@ -176,11 +176,11 @@ bindsym $mod+r mode "resize"
|
|||
|
||||
|
||||
## Mediakeys keybinds
|
||||
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +3%
|
||||
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -3%
|
||||
bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ +5%
|
||||
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ -5%
|
||||
bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
|
||||
bindsym --locked $mod+XF86AudioRaiseVolume exec pactl set-source-volume @DEFAULT_SOURCE@ +3%
|
||||
bindsym --locked $mod+XF86AudioLowerVolume exec pactl set-source-volume @DEFAULT_SOURCE@ -3%
|
||||
bindsym --locked $mod+XF86AudioMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
bindsym --locked $mod+XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SOURCE@ +5%
|
||||
bindsym --locked $mod+XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SOURCE@ -5%
|
||||
bindsym --locked $mod+XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
|
||||
|
|
15
.config/wireplumber/main.lua.d/51-disable-amd-audio.lua
Normal file
15
.config/wireplumber/main.lua.d/51-disable-amd-audio.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
rule = {
|
||||
matches = {
|
||||
{
|
||||
{ "device.name", "equals", "alsa_card.pci-0000_0a_00.1" },
|
||||
},
|
||||
{
|
||||
{ "device.name", "equals", "alsa_card.pci-0000_06_00.1" },
|
||||
},
|
||||
},
|
||||
apply_properties = {
|
||||
["device.disabled"] = true,
|
||||
},
|
||||
}
|
||||
|
||||
table.insert(alsa_monitor.rules, rule)
|
12
.config/wireplumber/main.lua.d/51-disable-headphone-jack.lua
Normal file
12
.config/wireplumber/main.lua.d/51-disable-headphone-jack.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
rule = {
|
||||
matches = {
|
||||
{
|
||||
{ "device.name", "equals", "alsa_card.pci-0000_0c_00.4" },
|
||||
},
|
||||
},
|
||||
apply_properties = {
|
||||
["device.disabled"] = true,
|
||||
},
|
||||
}
|
||||
|
||||
table.insert(alsa_monitor.rules, rule)
|
12
.config/wireplumber/main.lua.d/51-disable-headset-mic.lua
Normal file
12
.config/wireplumber/main.lua.d/51-disable-headset-mic.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
rule = {
|
||||
matches = {
|
||||
{
|
||||
{ "node.name", "equals", "alsa_input.usb-SteelSeries_SteelSeries_Arctis_7-00.mono-chat" },
|
||||
},
|
||||
},
|
||||
apply_properties = {
|
||||
["node.disabled"] = true,
|
||||
},
|
||||
}
|
||||
|
||||
table.insert(alsa_monitor.rules, rule)
|
Loading…
Add table
Reference in a new issue