i3: add -M to amixer for syncing with i3status & bind to alsamixer

Win+Shift+a now opens alsamixer in terminal instead of pavucontrol
This commit is contained in:
Aminda Suomalainen 2020-10-26 17:33:26 +02:00
parent dc2ac02412
commit 447b91f19d
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -362,13 +362,16 @@ bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause && notify-send -
#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 XF86AudioLowerVolume exec --no-startup-id notify-send -t 500 "$(amixer -M set Master 2dB-)"
bindsym XF86AudioRaiseVolume exec --no-startup-id notify-send -t 500 "$(amixer -M set Master 2dB+)"
bindsym XF86AudioMute exec --no-startup-id notify-send -t 500 "$(amixer -M set Master toggle)"
bindsym $mod+p exec arandr
bindsym $mod+Shift+p exec arandr
bindsym $mod+Shift+a exec pavucontrol -t 5
# pulseaudio
#bindsym $mod+Shift+a exec pavucontrol -t 5
# alsa amixer alsamixer
bindsym $mod+Shift+a exec --no-startup-id $TERMINAL -e alsamixer
# m for mumble
bindsym $mod+m exec mumble
# shift + m for music/media, which I need more seldom, but keep forgetting