summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-08-06 21:48:53 +0200
committerUrbain Vaes <urbain@vaes.uk>2015-08-06 21:48:53 +0200
commit23d5afa1061b71499ac8637402c114a508f3bc62 (patch)
treeea517c4d1d3eb9e767476a917c79417d93a428c4
parentace65061ff7124118d73e592699afffeefeff4e4 (diff)
Remap -space- to alt
-rwxr-xr-xxmodmap5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmodmap b/xmodmap
index bc855c8..e2a5d65 100755
--- a/xmodmap
+++ b/xmodmap
@@ -33,6 +33,9 @@ xmodmap -e "keycode 47 = s S dollar"
xcape -e 'Control_L=Escape'
xcape -e 'Shift_L=Escape'
-# Map alt-gr to alt
+# Map alt-gr and space to alt
xmodmap -e 'clear mod5'
xmodmap -e 'keycode 108 = Alt_L'
+xmodmap -e 'keycode 65 = Alt_L'
+xmodmap -e 'keycode any = space'
+xcape -e 'Alt_L=space'