Skip to content

Instantly share code, notes, and snippets.

@martinklepsch
Created May 5, 2011 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinklepsch/957342 to your computer and use it in GitHub Desktop.
Save martinklepsch/957342 to your computer and use it in GitHub Desktop.
###########################
# Thinkpad volume buttons #
###########################
# Mute
"amixer -q set Master toggle"
⇢ m:0x0 + c:121
⇢ NoSymbol
# VolDown
"amixer -q set Master unmute && amixer -q set Master 5%-"
⇢ m:0x0 + c:122
⇢ NoSymbol
# VolUp
"amixer -q set Master unmute && amixer -q set Master 5%+"
⇢ m:0x0 + c:123
⇢ NoSymbol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment