This commit is contained in:
histausse 2023-08-18 22:54:25 +02:00
parent eb0c56434a
commit 2ce86af7e8
2 changed files with 15 additions and 6 deletions

View file

@ -1,3 +1,6 @@
include "%L"
include "/usr/share/X11/locale/en_US.UTF-8/Compose"
# GREEK CAPITAL LETTERS
<Multi_key> <G> <A> : "Α" U0391 # GREEK CAPITAL LETTER ALPHA
<Multi_key> <G> <B> : "Β" U0392 # GREEK CAPITAL LETTER BETA

View file

@ -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)