From 976a2c7c284aadcdba3fd4505a7dea19fe48e7d5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 13 Jan 2022 23:10:42 -0800 Subject: [xmodmap] Add section to remap Super_R to Hyper_R --- GNUmakefile | 9 ++++++--- Xmodmap/.gitignore | 1 - Xmodmap/Xmodmap.org | 14 -------------- xmodmap/.gitignore | 1 + xmodmap/Xmodmap.org | 22 ++++++++++++++++++++++ 5 files changed, 29 insertions(+), 18 deletions(-) delete mode 100644 Xmodmap/.gitignore delete mode 100644 Xmodmap/Xmodmap.org create mode 100644 xmodmap/.gitignore create mode 100644 xmodmap/Xmodmap.org diff --git a/GNUmakefile b/GNUmakefile index 03da67e..ea8fd81 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -7,6 +7,9 @@ STOW=stow all: $(MODULES) +build: + mkdir build + clean: $(addsuffix -clean,$(MODULES)) zsh: @@ -45,13 +48,13 @@ emacs-install: emacs-stow # Xmodmap # ########### -xmodmap: Xmodmap/.Xmodmap +xmodmap: build build/.Xmodmap -Xmodmap/.Xmodmap: Xmodmap/Xmodmap.org +build/.Xmodmap: xmodmap/Xmodmap.org $(call tangle,fundamental) xmodmap-clean: - rm -f Xmodmap/.Xmodmap + rm -f build/.Xmodmap ######### # Cower # diff --git a/Xmodmap/.gitignore b/Xmodmap/.gitignore deleted file mode 100644 index e7af67b..0000000 --- a/Xmodmap/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.Xmodmap diff --git a/Xmodmap/Xmodmap.org b/Xmodmap/Xmodmap.org deleted file mode 100644 index 4c8b12e..0000000 --- a/Xmodmap/Xmodmap.org +++ /dev/null @@ -1,14 +0,0 @@ -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/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 -- cgit v1.2.3-54-g00ecf