summaryrefslogtreecommitdiff
path: root/package/evilwm/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-27 00:39:55 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-27 00:39:55 +0100
commit13da73594083f2a491f3b941b1dcdbbef2f67c67 (patch)
tree4d35921957731bdb637c46302283f7d1c3d52a6e /package/evilwm/patches
parentf1e70392b3d72f746f257586f134a366bf222f13 (diff)
use my favorite key mappings
Diffstat (limited to 'package/evilwm/patches')
-rw-r--r--package/evilwm/patches/patch-keymap_h41
1 files changed, 41 insertions, 0 deletions
diff --git a/package/evilwm/patches/patch-keymap_h b/package/evilwm/patches/patch-keymap_h
new file mode 100644
index 000000000..fe06ccf74
--- /dev/null
+++ b/package/evilwm/patches/patch-keymap_h
@@ -0,0 +1,41 @@
+--- evilwm-1.0.1.orig/keymap.h 2009-03-30 12:37:06.000000000 +0200
++++ evilwm-1.0.1/keymap.h 2010-11-27 00:37:21.000000000 +0100
+@@ -2,29 +2,29 @@
+ #define _KEYMAP_H
+
+ #define KEY_NEXT XK_Tab
+-#define KEY_NEW XK_Return
+-#define KEY_TOPLEFT XK_y
+-#define KEY_TOPRIGHT XK_u
+-#define KEY_BOTTOMLEFT XK_b
+-#define KEY_BOTTOMRIGHT XK_n
++#define KEY_NEW XK_e
++#define KEY_TOPLEFT XK_a
++#define KEY_TOPRIGHT XK_s
++#define KEY_BOTTOMLEFT XK_y
++#define KEY_BOTTOMRIGHT XK_x
+ #define KEY_LEFT XK_h
+ #define KEY_RIGHT XK_l
+ #define KEY_DOWN XK_j
+-#define KEY_UP XK_k
++#define KEY_UP XK_g
+ #define KEY_LOWER XK_Insert
+ #define KEY_ALTLOWER XK_KP_Insert
+ #define KEY_INFO XK_i
+ #define KEY_MAXVERT XK_equal
+-#define KEY_MAX XK_x
++#define KEY_MAX XK_m
+ #ifdef VWM
+-# define KEY_FIX XK_f
++# define KEY_FIX XK_d
+ # define KEY_PREVDESK XK_Left
+ # define KEY_NEXTDESK XK_Right
+ #endif
+ /* Mixtures of Ctrl, Alt an Escape are used for things like VMWare and
+ * XFree86/Cygwin, so the KILL key is an option in the Makefile */
+ #ifndef KEY_KILL
+-#define KEY_KILL XK_Escape
++#define KEY_KILL XK_k
+ #endif
+
+ #endif