aboutsummaryrefslogtreecommitdiffstats
path: root/Xmodmap
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-09-19 17:28:07 +0200
committerGravatar Tom Willemse2016-09-19 17:28:07 +0200
commita3021b6bdb9483a5b72f3ed701dc71af00843abf (patch)
treee0bac2dd6e435f1732975a7f28fc81c9f5b92050 /Xmodmap
parenteb7b02d438c6ef96b57017713e578ae50e93ef9e (diff)
downloadnew-dotfiles-a3021b6bdb9483a5b72f3ed701dc71af00843abf.tar.gz
new-dotfiles-a3021b6bdb9483a5b72f3ed701dc71af00843abf.zip
Add Xmodmap configuration
Diffstat (limited to 'Xmodmap')
-rw-r--r--Xmodmap/.Xmodmap.org14
-rw-r--r--Xmodmap/.gitignore1
-rw-r--r--Xmodmap/GNUmakefile6
3 files changed, 21 insertions, 0 deletions
diff --git a/Xmodmap/.Xmodmap.org b/Xmodmap/.Xmodmap.org
new file mode 100644
index 0000000..4c8b12e
--- /dev/null
+++ b/Xmodmap/.Xmodmap.org
@@ -0,0 +1,14 @@
+Turn the mouse into a left-handed one (switch the left and right
+buttons).
+
+#+BEGIN_SRC fundamental
+ pointer = 3 2 1
+#+END_SRC
+
+Turn the right Alt (AltGr) into a regular Alt.
+
+#+BEGIN_SRC fundamental
+ remove Mod5 = ISO_Level3_Shift
+ keycode 108 = Alt_L
+ add Mod1 = Alt_L
+#+END_SRC
diff --git a/Xmodmap/.gitignore b/Xmodmap/.gitignore
new file mode 100644
index 0000000..e7af67b
--- /dev/null
+++ b/Xmodmap/.gitignore
@@ -0,0 +1 @@
+.Xmodmap
diff --git a/Xmodmap/GNUmakefile b/Xmodmap/GNUmakefile
new file mode 100644
index 0000000..30c1d75
--- /dev/null
+++ b/Xmodmap/GNUmakefile
@@ -0,0 +1,6 @@
+include ../dotfiles.mk
+
+all: .Xmodmap
+
+.Xmodmap: .Xmodmap.org
+ $(call tangle,fundamental)