Reload kxkbrc in KWin after setting caps:swapescape

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-09 15:30:11 +00:00
co-authored by Claude Opus 5.5
parent 78800b327f
commit daed1d7e73
+2
View File
@@ -57,6 +57,8 @@ kw MouseBindings CommandAllKey Meta
# caps:swapescape, as in hyprland input.kb_options
kwriteconfig6 --file kxkbrc --group Layout --key ResetOldOptions true
kwriteconfig6 --file kxkbrc --group Layout --key Options caps:swapescape
# tell KWin to re-read kxkbrc now (same signal the Keyboard KCM sends on Apply)
dbus-send --session --type=signal /Layouts org.kde.keyboard.reloadConfig 2>/dev/null || true
kwin_reconfigure