]> git.rmz.io Git - dotfiles.git/commitdiff
add xbindkeysrc
authorSamir Benmendil <ram-z@chakra-project.org>
Tue, 4 Dec 2012 07:42:25 +0000 (08:42 +0100)
committerSamir Benmendil <ram-z@chakra-project.org>
Tue, 4 Dec 2012 07:50:02 +0000 (08:50 +0100)
Makefile
xbindkeysrc [new file with mode: 0644]

index 52f1c845ee884d2a64f137cd2f5f55aee993e159..a9d1cb5664470c6d21e80d35528b091f28552f41 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ APATH := $(realpath .)
 RPATH := $(subst $(wildcard ~/),,$(APATH))
 
 FILES := bin
-DOTFILES := aliases bash* conky* flexget vim* zsh*
+DOTFILES := aliases bash* conky* flexget vim* xbindkeysrc zsh*
 
 .PHONY: install $(FILES) $(DOTFILES)
 install: $(FILES) $(DOTFILES)
diff --git a/xbindkeysrc b/xbindkeysrc
new file mode 100644 (file)
index 0000000..4d38bc1
--- /dev/null
@@ -0,0 +1,38 @@
+# For the benefit of emacs users: -*- shell-script -*-
+###########################
+# xbindkeys configuration #
+###########################
+#
+# Version: 1.8.5
+#
+# 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).
+#
+# Don't forget to activate it on startup by placing 'xbindkeys' 
+# before the line that starts your DE in '~/.xinitrc'
+
+# 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
+
+"qdbus --literal org.kde.kglobalaccel /component/kwin invokeShortcut Expose"
+ b:10
+
+"qdbus --literal org.kde.kglobalaccel /component/kwin invokeShortcut ShowDesktopGrid"
+ b:13
+
+##################################
+# End of xbindkeys configuration #
+##################################