diff --git a/.XCompose b/.XCompose index fff88e6..a2b7289 100644 --- a/.XCompose +++ b/.XCompose @@ -1,3 +1,6 @@ +include "%L" +include "/usr/share/X11/locale/en_US.UTF-8/Compose" + # GREEK CAPITAL LETTERS : "Α" U0391 # GREEK CAPITAL LETTER ALPHA : "Β" U0392 # GREEK CAPITAL LETTER BETA diff --git a/.config/kmonad/config.kbd b/.config/kmonad/config.kbd index cfc3afc..1d0631f 100644 --- a/.config/kmonad/config.kbd +++ b/.config/kmonad/config.kbd @@ -1,6 +1,7 @@ (defcfg - input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd") - output (uinput-sink "KMonad output" "/sbin/sleep 5 && /sbin/setxkbmap -option compose:paus") + ;; KEYBOARD is replaced by the file of the keyboard, see $HOME/.config/systemd/user/kmonad@.service + input (device-file "KEYBOARD") + output (uinput-sink "KMonad output") fallthrough true allow-cmd false ) @@ -19,20 +20,24 @@ spc (tap-hold 200 spc (layer-toggle space)) grk (layer-next greek) Grk (layer-toggle Greek) + vtb (tap-hold 400 tab (tap-macro-release esc i)) + æ #(pause q e) + œ #(pause o e) + nla LALT_KEY ) (deflayer base _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + @vtb _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - @sl _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - _ _ _ @spc _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ @nla @spc _ _ _ _ _ _ _ _ _ ) (deflayer space _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ del _ _ _ _ _ _ _ esc _ _ _ _ _ _ _ . _ _ home end _ _ _ _ _ _ _ _ _ _ _ _ _ _ left down up rght _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @@ -58,6 +63,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ ) +;; note: the pause key is the compose key (defalias α #(pause g q) β #(pause g b)