Skip to content

Instantly share code, notes, and snippets.

@bebosudo
Created April 8, 2020 10:16
Show Gist options
  • Save bebosudo/b8589ac7c6fda4b228c84fd1397e4b75 to your computer and use it in GitHub Desktop.
Save bebosudo/b8589ac7c6fda4b228c84fd1397e4b75 to your computer and use it in GitHub Desktop.
###########################
#
# Version: 1.8.5
#
# If you edit this file, do not forget to uncomment any lines
# that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# To specify a key, you can use 'xbindkeys --key' or
# 'xbindkeys --multikey' and put one of the two lines in this file.
#
# The format of a command line is:
# "command to start"
# associated key
#
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier:
# Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events
# By defaults, xbindkeys does not pay attention with the modifiers
# NumLock, CapsLock and ScrollLock.
# Uncomment the lines above if you want to pay attention to them.
#keystate_numlock = enable
#keystate_capslock = enable
#keystate_scrolllock= enable
# Play/Pause
"dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"
Alt + space
# Next
"dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next"
Alt + Right
# Previous
"dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous"
Alt + Left
# Stop
"dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop"
Alt + Down
# Toggl mute
#"amixer set Master unmute"
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
Alt+Mod4 + m
"pactl set-sink-volume @DEFAULT_SINK@ +5%"
Alt+Mod4 + Up
"pactl set-sink-volume @DEFAULT_SINK@ -5%"
Alt+Mod4 + Down
#"gmrun"
# Mod2+Mod4 + Super_L
"gmrun"
Mod4 + space
# Super_L
"xbacklight -dec 2"
Alt+Mod4 + F9
"xbacklight -inc 5"
Alt+Mod4 + F10
##################################
# End of xbindkeys configuration #
##################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment