Skip to content

Instantly share code, notes, and snippets.

@JamesTheBard
Last active December 18, 2015 02:28
Show Gist options
  • Save JamesTheBard/5710876 to your computer and use it in GitHub Desktop.
Save JamesTheBard/5710876 to your computer and use it in GitHub Desktop.
Quick keybinds for increasing/decreasing volume using i3.
# Brightness bindings
bindsym XF86MonBrightnessUp exec "xbacklight -inc 10"
bindsym XF86MonBrightnessDown exec "xbacklight -dec 10"
# Audio bindings
bindsym XF86AudioPlay exec "mpc toggle"
bindsym XF86AudioStop exec "mpc stop"
bindsym XF86AudioNext exec "mpc next"
bindsym XF86AudioPrev exec "mpc prev"
# Volume bindings
bindsym XF86AudioRaiseVolume exec "amixer sset Master '3%+'"
bindsym XF86AudioLowerVolume exec "amixer sset Master '3%-'"
bindsym XF86AudioMute exec "amixer set Master toggle"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment