mirror of https://gitlab.com/dabruh/dotfiles.git
15 lines
651 B
Plaintext
15 lines
651 B
Plaintext
# 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
|