aboutsummaryrefslogtreecommitdiffstats
path: root/_xbindkeysrc
diff options
context:
space:
mode:
Diffstat (limited to '_xbindkeysrc')
-rw-r--r--_xbindkeysrc104
1 files changed, 104 insertions, 0 deletions
diff --git a/_xbindkeysrc b/_xbindkeysrc
new file mode 100644
index 0000000..ef89ab1
--- /dev/null
+++ b/_xbindkeysrc
@@ -0,0 +1,104 @@
+# For the benefit of emacs users: -*- shell-script -*-
+###########################
+# xbindkeys configuration #
+###########################
+#
+# Version: 1.8.4
+#
+# 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
+
+#"xbindkeys_show"
+# control+shift + q
+
+###### music control ###### {{{
+"mpc toggle"
+ m:0x0 + c:172
+ XF86AudioPlay
+
+"mpc stop"
+ m:0x0 + c:174
+ XF86AudioStop
+
+"mpc prev"
+ m:0x0 + c:173
+ XF86AudioPrev
+
+"mpc next"
+ m:0x0 + c:171
+ XF86AudioNext
+###### music }}}
+
+###### volume control ###### {{{
+"amixer sset Master '5%+' unmute"
+ m:0x0 + c:123
+ XF86AudioRaiseVolume
+
+"amixer sset Master '5%-' unmute"
+ m:0x0 + c:122
+ XF86AudioLowerVolume
+
+"amixer sset Master toggle"
+ m:0x0 + c:121
+ XF86AudioMute
+###### volume }}}
+
+###### thinkpad ###### {{{
+## thinkpad special keys require 'thinkpad_acpi' module
+
+# ThinkVantage button
+"dmenu_run"
+ m:0x0 + c:156
+ XF86Launch1
+
+"~/bin/i3lock_exit.sh lock"
+ m:0x10 + c:160
+ Mod2 + XF86ScreenSaver
+
+#"(Scheme function)"
+# m:0x10 + c:220
+# Mod2 + XF86WebCam
+
+"arandr"
+ m:0x10 + c:235
+ Mod2 + XF86Display
+
+# TouchPadToggle
+"synclient TouchpadOff=`synclient -l | grep -c 'TouchpadOff.*=.*0'`"
+ m:0x10 + c:199
+ Mod2 + XF86TouchpadToggle
+
+###### thinkpad ###### }}}
+
+##################################
+# End of xbindkeys configuration #
+##################################