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%
|
2022-05-28 23:51:20 +02:00
|
|
|
bindsym XF86AudioMute exec --no-startup-id pavolctl toggle Master
|
|
|
|
bindsym XF86AudioMicMute exec --no-startup-id pavolctl toggle Capture
|
2022-05-27 21:07:07 +02:00
|
|
|
|
|
|
|
# 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
|