From 9c29e3b94fd4777ac409ed60efee4be24f615161 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 24 Oct 2016 17:16:16 -0700 Subject: [PATCH] [Linux] Home is also Hyper --- dotfiles/xkb/keymap/default | 2 +- dotfiles/xkb/symbols/imalison | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dotfiles/xkb/keymap/default b/dotfiles/xkb/keymap/default index 637ef84e..794cea32 100644 --- a/dotfiles/xkb/keymap/default +++ b/dotfiles/xkb/keymap/default @@ -2,6 +2,6 @@ xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; - xkb_symbols { include "pc+us+inet(evdev)+imalison(rwin_as_hyper)+capslock(ctrl_modifier)" }; + xkb_symbols { include "pc+us+inet(evdev)+imalison(rwin_as_hyper)+imalison(home_as_hyper)+capslock(ctrl_modifier)" }; xkb_geometry { include "pc(pc105)" }; }; diff --git a/dotfiles/xkb/symbols/imalison b/dotfiles/xkb/symbols/imalison index 5e9be33a..59692418 100644 --- a/dotfiles/xkb/symbols/imalison +++ b/dotfiles/xkb/symbols/imalison @@ -3,3 +3,9 @@ xkb_symbols "rwin_as_hyper" { replace key { [ Hyper_L ] }; modifier_map Mod3 { , Hyper_L, Hyper_R }; }; + +partial modifier_keys +xkb_symbols "home_as_hyper" { + replace key { [ Hyper_L ] }; + modifier_map Mod3 { , Hyper_L, Hyper_R }; +};