dotfiles/.config/i3/config.post-main-10-audio

15 lines
651 B
Plaintext
Raw Normal View History

2022-05-27 21:07:07 +02:00
# Use pactl to adjust volume in PulseAudio.
bindsym XF86AudioRaiseVolume exec --no-startup-id pavolctl +10%
bindsym XF86AudioLowerVolume exec --no-startup-id pavolctl -10%
bindsym XF86AudioMute exec --no-startup-id pavolctl set-sink-mute
bindsym XF86AudioMicMute exec --no-startup-id pavolctl set-source-mute
# Set cmus controls
bindsym XF86AudioStop exec --no-startup-id "cmusctl -c stop"
bindsym XF86AudioPlay exec --no-startup-id "cmusctl -c pause"
bindsym XF86AudioPrev exec --no-startup-id "cmusctl -c prev"
bindsym XF86AudioNext exec --no-startup-id "cmusctl -c next"
# Write cmus file for i3status
exec_always --no-startup-id cmusctl -l -e 2