aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2024-01-01 18:50:52 -0500
committerRyan Kavanagh <rak@rak.ac>2024-01-01 18:50:52 -0500
commit8c17496e22e91bf637d6a0ca92b98d6b45e5fbf3 (patch)
tree4c760c3913e250da79226670cd0f863c807c5360
parentSwitch emacs to Iosevka (diff)
Treat RALT as super
-rw-r--r--dot_config/xkb/rules/evdev5
-rw-r--r--dot_config/xkb/symbols/ralt_super4
2 files changed, 9 insertions, 0 deletions
diff --git a/dot_config/xkb/rules/evdev b/dot_config/xkb/rules/evdev
new file mode 100644
index 0000000..96a1b75
--- /dev/null
+++ b/dot_config/xkb/rules/evdev
@@ -0,0 +1,5 @@
+! option = symbols
+ lalt_meta:lalt_meta = +lalt_meta(lalt_meta)
+ ralt_super:ralt_super = +ralt_super(ralt_super)
+
+! include %S/evdev
diff --git a/dot_config/xkb/symbols/ralt_super b/dot_config/xkb/symbols/ralt_super
new file mode 100644
index 0000000..6735742
--- /dev/null
+++ b/dot_config/xkb/symbols/ralt_super
@@ -0,0 +1,4 @@
+partial modifier_keys
+xkb_symbols "ralt_super" {
+ key <RALT> { [ Super_L, Super_R ] } ;
+};