From 976a2c7c284aadcdba3fd4505a7dea19fe48e7d5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 13 Jan 2022 23:10:42 -0800 Subject: [PATCH] [xmodmap] Add section to remap Super_R to Hyper_R --- GNUmakefile | 9 ++++++--- {Xmodmap => xmodmap}/.gitignore | 0 {Xmodmap => xmodmap}/Xmodmap.org | 8 ++++++++ 3 files changed, 14 insertions(+), 3 deletions(-) rename {Xmodmap => xmodmap}/.gitignore (100%) rename {Xmodmap => xmodmap}/Xmodmap.org (65%) 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 similarity index 100% rename from Xmodmap/.gitignore rename to xmodmap/.gitignore diff --git a/Xmodmap/Xmodmap.org b/xmodmap/Xmodmap.org similarity index 65% rename from Xmodmap/Xmodmap.org rename to xmodmap/Xmodmap.org index 4c8b12e..a13ac85 100644 --- a/Xmodmap/Xmodmap.org +++ b/xmodmap/Xmodmap.org @@ -12,3 +12,11 @@ Turn the right Alt (AltGr) into a regular Alt. 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