begin depulseaudioing

https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#No_sound_below_a_volume_cutoff_or_Clipping_on_a_particular_output_device
is too much for me. I expect to suffer this decision too though.

* i3: bind audio buttons to amixer (TODO: there are still pulse-specific
  shortcuts and no shortcut for any kind of a mixer. $TERMINAL
  alsamixer?)
* i3status: comment pulse to make it see alsa
* apt: pin pulseaudio to negative priority
This commit is contained in:
Aminda Suomalainen 2020-10-26 17:21:39 +02:00
parent 9b197cbaed
commit dc2ac02412
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
3 changed files with 13 additions and 4 deletions

View File

@ -356,9 +356,15 @@ bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause && notify-send -
#bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute $sink toggle # mute sound
# Apparently pasystray alerts me of the status changes, so I don't have to
# echo them by myself.
bindsym XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 # && notify-send -t 500 "$(pulsemixer --get-volume)"
bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 # && notify-send -t 500 "$(pulsemixer --get-volume)"
bindsym XF86AudioMute exec --no-startup-id pulsemixer --toggle-mute # && notify-send -t 500 "🔇 pressed"
# pulseaudio bindings
#bindsym XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 # && notify-send -t 500 "$(pulsemixer --get-volume)"
#bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 # && notify-send -t 500 "$(pulsemixer --get-volume)"
#bindsym XF86AudioMute exec --no-startup-id pulsemixer --toggle-mute # && notify-send -t 500 "🔇 pressed"
# amixer / alsamixer / alsa bindings
bindsym XF86AudioLowerVolume exec --no-startup-id notify-send -t 500 "$(amixer set Master 2dB-)"
bindsym XF86AudioRaiseVolume exec --no-startup-id notify-send -t 500 "$(amixer set Master 2dB+)"
bindsym XF86AudioMute exec --no-startup-id notify-send -t 500 "$(amixer set Master toggle)"
bindsym $mod+p exec arandr
bindsym $mod+Shift+p exec arandr

View File

@ -113,7 +113,7 @@ time {
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "pulse"
#device = "pulse"
}
ipv6 {

View File

@ -0,0 +1,3 @@
Package: pulseaudio
Pin: release o=Debian
Pin-Priority: -1