diff --git a/conf/i3/config b/conf/i3/config index 0ba6fc42..44979c71 100644 --- a/conf/i3/config +++ b/conf/i3/config @@ -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 diff --git a/conf/i3status/config b/conf/i3status/config index a73ed0e1..343286dc 100644 --- a/conf/i3status/config +++ b/conf/i3status/config @@ -113,7 +113,7 @@ time { volume master { format = "♪: %volume" format_muted = "♪: muted (%volume)" - device = "pulse" + #device = "pulse" } ipv6 { diff --git a/etc/apt/preferences.d/00-pulseaudio b/etc/apt/preferences.d/00-pulseaudio new file mode 100644 index 00000000..2a2d5a1b --- /dev/null +++ b/etc/apt/preferences.d/00-pulseaudio @@ -0,0 +1,3 @@ +Package: pulseaudio +Pin: release o=Debian +Pin-Priority: -1