Replace Pulseaudio with PipeWire

This commit is contained in:
coolneng 2021-02-20 01:19:31 +01:00
parent e4e37361bc
commit 7aada4a166
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 4 additions and 8 deletions

View File

@ -10,8 +10,6 @@ alias f "fff"
alias bc "bc -l"
alias vim "nvim"
alias docker-compose "podman-compose"
alias hdmi-audio "pactl set-card-profile 0 output:hdmi-stereo-extra1"
alias laptop-audio "pacmd set-card-profile 0 output:analog-stereo+input:analog-stereo"
alias sc "systemctl"
alias jc "journalctl -eu"

View File

@ -256,10 +256,10 @@ exec swaymsg split vertical
# Special keys
#
# Volume
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo -5%
bindsym XF86AudioMute exec pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo toggle
bindsym XF86AudioMicMute exec pactl set-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo toggle
bindsym XF86AudioRaiseVolume exec pulsemixer --change-volume +5
bindsym XF86AudioLowerVolume exec pulsemixer --change-volume -5
bindsym XF86AudioMute exec pulsemixer --toggle-mute
bindsym XF86AudioMicMute exec pulsemixer --id source-45 --toggle-mute
# Brightness
bindsym XF86MonBrightnessUp exec light -A 10
bindsym XF86MonBrightnessDown exec light -U 10
@ -337,8 +337,6 @@ assign [app_id=".*[Ee]macs.*"] $workspace3
exec emacs
# mpv
assign [app_id="mpv"] $workspace6
# pipewire
exec systemctl --user import-environment
#
# Program behaviour