pipewire: Configure wireplumber

This commit is contained in:
histalek 2022-08-21 20:56:22 +02:00
parent ae9bb4328f
commit d9e471ba03
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03
4 changed files with 45 additions and 6 deletions

View file

@ -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

View 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)

View 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)

View 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)