Configured capslock as custom compose key with keyd

This commit is contained in:
EsVagy42 2025-08-20 04:38:38 +02:00
parent 72c83dd25b
commit 233d3c3165
3 changed files with 43 additions and 9 deletions

View file

@ -1 +1 @@
Set capslock as compose key
Configured capslock as custom compose key with keyd

View file

@ -241,14 +241,48 @@ in
default = {
ids = [ "*" ];
extraConfig = ''
[main]
capslock = overload(capslock, capslock)
[main]
capslock = overload(capslock, oneshot(accent))
[capslock]
h = left
j = down
k = up
l = right
[capslock]
h = left
j = down
k = up
l = right
[third_accent]
o = macro(rightalt = o)
u = macro(rightalt = u)
[third_accent+shift]
o = macro(rightalt = O)
u = macro(rightalt = U)
[second_accent]
o = macro(rightalt " o)
u = macro(rightalt " u)
capslock = oneshot(third_accent)
[second_accent+shift]
o = macro(rightalt " O)
u = macro(rightalt " U)
capslock = oneshot(third_accent)
[accent]
a = macro(rightalt ' a)
e = macro(rightalt ' e)
i = macro(rightalt ' i)
o = macro(rightalt ' o)
u = macro(rightalt ' u)
capslock = oneshot(second_accent)
[accent+shift]
a = macro(rightalt ' A)
e = macro(rightalt ' E)
i = macro(rightalt ' I)
o = macro(rightalt ' O)
u = macro(rightalt ' U)
capslock = oneshot(second_accent)
'';
};
};

View file

@ -991,7 +991,7 @@
"kwinrc"."Wayland"."InputMethod" = "/run/current-system/sw/share/applications/com.github.maliit.keyboard.desktop";
"kwinrc"."Xwayland"."Scale" = 1;
"kwinrc"."org.kde.kdecoration2"."ButtonsOnRight" = "HBFIAX";
"kxkbrc"."Layout"."Options" = "compose:ralt,compose:caps";
"kxkbrc"."Layout"."Options" = "compose:ralt";
"kxkbrc"."Layout"."ResetOldOptions" = true;
"plasma-localerc"."Formats"."LANG" = "en_US.UTF-8";
"plasma-localerc"."Formats"."LC_ADDRESS" = "en_US.UTF-8";