aboutsummaryrefslogtreecommitdiffstats
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
parent93bfb28d389631a89f52672621ec5801c4e5fd0f (diff)
downloadnew-dotfiles-976a2c7c284aadcdba3fd4505a7dea19fe48e7d5.tar.gz
new-dotfiles-976a2c7c284aadcdba3fd4505a7dea19fe48e7d5.zip
[xmodmap] Add section to remap Super_R to Hyper_R
-rw-r--r--GNUmakefile9
-rw-r--r--xmodmap/.gitignore (renamed from Xmodmap/.gitignore)0
-rw-r--r--xmodmap/Xmodmap.org (renamed from Xmodmap/Xmodmap.org)8
3 files changed, 14 insertions, 3 deletions
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
index e7af67b..e7af67b 100644
--- a/Xmodmap/.gitignore
+++ b/xmodmap/.gitignore
diff --git a/Xmodmap/Xmodmap.org b/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