mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
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:
parent
9b197cbaed
commit
dc2ac02412
@ -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
|
||||
|
@ -113,7 +113,7 @@ time {
|
||||
volume master {
|
||||
format = "♪: %volume"
|
||||
format_muted = "♪: muted (%volume)"
|
||||
device = "pulse"
|
||||
#device = "pulse"
|
||||
}
|
||||
|
||||
ipv6 {
|
||||
|
3
etc/apt/preferences.d/00-pulseaudio
Normal file
3
etc/apt/preferences.d/00-pulseaudio
Normal file
@ -0,0 +1,3 @@
|
||||
Package: pulseaudio
|
||||
Pin: release o=Debian
|
||||
Pin-Priority: -1
|
Loading…
Reference in New Issue
Block a user