You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
4.2 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(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")
fallthrough true
allow-cmd false
)
(defsrc
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup nlck kp/ kp* kp-
tab q w e r t y u i o p [ ] ret del end pgdn kp7 kp8 kp9 kp+
caps a s d f g h j k l ; ' \ kp4 kp5 kp6
lsft 102d z x c v b n m , . / rsft up kp1 kp2 kp3 kprt
lctl lmet lalt spc ralt rmet cmp rctl left down rght kp0 kp.
)
(defalias
sl (sticky-key 600 lsft)
spc (tap-hold 200 spc (layer-toggle space))
grk (layer-next greek)
Grk (layer-toggle Greek)
)
(deflayer base
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@sl _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ @spc _ _ _ _ _ _ _ _ _
)
(deflayer space
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
esc _ _ _ _ _ _ _ . _ _ home end _ _ _ _ _ _ _ _
_ _ _ _ _ _ left down up rght _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@grk _ _ _ _ _ _ _ _ _ _ _ _
)
(deflayer greek
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ @α @ζ @ε @ρ @τ _ @υ @ι @ω @π @ψ _ _ _ _ _ _ _ _ _
_ _ @σ @δ @φ @γ @η _ @κ @λ @μ _ - _ _ _
@Grk _ _ @χ _ _ @β @ν _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
)
(deflayer Greek
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ @Α @Ζ @Ε @Ρ @θ _ @Υ @Ι @Ω @Π @Ψ _ _ _ _ _ _ _ _ _
_ _ @Σ @Δ @Φ @Γ @Η _ @Κ @Λ @Μ _ _ _ _ _
_ _ _ @ξ _ _ @Β @Ν _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
)
(defalias
α #(pause g q)
β #(pause g b)
γ #(pause g g)
δ #(pause g d)
ε #(pause g e)
ζ #(pause g w)
η #(pause g h)
ι #(pause g i)
κ #(pause g k)
λ #(pause g l)
μ #(pause g ;)
ν #(pause g n)
π #(pause g p)
ρ #(pause g r)
σ #(pause g s)
τ #(pause g t)
υ #(pause g u)
φ #(pause g f)
χ #(pause g x)
ω #(pause g o)
Α #(pause G Q)
Β #(pause G B)
Γ #(pause G G)
Δ #(pause G D)
Ε #(pause G E)
Ζ #(pause G W)
Η #(pause G H)
Ι #(pause G I)
Κ #(pause G K)
Λ #(pause G L)
Μ #(pause G S-;)
Ν #(pause G N)
Π #(pause G P)
Ρ #(pause G R)
Σ #(pause G S)
Τ #(pause G T)
Υ #(pause G U)
Φ #(pause G F)
Χ #(pause G X)
Ω #(pause G O)
ξ #(pause g a x)
θ #(pause g a t)
ψ #(pause g a p)
Ψ #(pause G A P)
)