JeffAbrahamson / dotfiles

Other
4 stars 2 forks source link

ratpoison and volume controls #22

Closed JeffAbrahamson closed 9 years ago

JeffAbrahamson commented 10 years ago

Probably something like this:

definekey top XF86AudioLowerVolume exec amixer set Master 5%- definekey top XF86AudioRaiseVolume exec amixer set Master 5%+ definekey top XF86AudioMute exec amixer set Master toggle

JeffAbrahamson commented 10 years ago

This might be amusing in the status line:

spits out current volume

bind v exec ratpoison -c "echo Master: amixer get Master | tail -1 | cut -d ' ' -f 6"

JeffAbrahamson commented 9 years ago

This ended up being this:

amixer -D pulse set Master 5%-
amixer -D pulse set Master 5%+
amixer -D pulse set Master toggle