aboutsummaryrefslogtreecommitdiffstats
path: root/xmodmap
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-01-13 23:10:42 -0800
committerGravatar Tom Willemse2022-01-13 23:10:42 -0800
commit976a2c7c284aadcdba3fd4505a7dea19fe48e7d5 (patch)
treec3f0df5fff3042a652df4e7f0218ea37b5bbc8e2 /xmodmap
parent93bfb28d389631a89f52672621ec5801c4e5fd0f (diff)
downloadnew-dotfiles-976a2c7c284aadcdba3fd4505a7dea19fe48e7d5.tar.gz
new-dotfiles-976a2c7c284aadcdba3fd4505a7dea19fe48e7d5.zip
[xmodmap] Add section to remap Super_R to Hyper_R
Diffstat (limited to 'xmodmap')
-rw-r--r--xmodmap/.gitignore1
-rw-r--r--xmodmap/Xmodmap.org22
2 files changed, 23 insertions, 0 deletions
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/Xmodmap.org b/xmodmap/Xmodmap.org
new file mode 100644
index 0000000..a13ac85
--- /dev/null
+++ b/xmodmap/Xmodmap.org
@@ -0,0 +1,22 @@
+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
+
+Turn the right Super key into a Hyper key.
+
+#+begin_src fundamental
+ remove mod4 = Super_R
+ keycode 134 = Hyper_R
+ add mod3 = Hyper_R
+#+end_src