Wayland KDE: remap Caps to Shift?

Hi all,

for years on my Linuxes (and also nowadays in my usual daily KDE Xorg session), I have a working setup that makes Caps Lock another Shift. It’s set up with just this ~/.xinitrc that I put on every Linux install, KDE or not:

xmodmap -e "keycode 66 = Shift_L NoSymbol Shift_L"

In Wayland, this is not read of course, it’s X-specific.

Unfortunately, “System Settings” has a lot of “Make Caps Lock an additional Foo key” but Foo is anything from Ctrl to Meta — just not Shift! Would love that. Unusual demand perhaps, but for me it’s the most ergonomic actually and I’m too used to it after nearly a decade.

Anyone know any other hack that’d work for the KDE/Wayland combination?

I use keyd for remapping.

A quick test with capslock = leftshift works fine.