diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-15 16:14:22 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-15 18:56:26 +0200 |
| commit | cd15a1e143f053632901c084675dffa92f5d5bce (patch) | |
| tree | 0baeefa5efaa7d81feabe403fec12e66bab227db /.config | |
| parent | 48b8993dacd948ce3f1426c35039c3ec38ae21e3 (diff) | |
| download | dotfiles-cd15a1e143f053632901c084675dffa92f5d5bce.tar.gz dotfiles-cd15a1e143f053632901c084675dffa92f5d5bce.zip | |
misc: bind capslock → esc/ctrl, leftctrl → compose, and more
Diffstat (limited to '.config')
| -rw-r--r-- | .config/keyd/default.conf | 21 | ||||
| -rw-r--r-- | .config/kxkbrc | 3 |
2 files changed, 24 insertions, 0 deletions
diff --git a/.config/keyd/default.conf b/.config/keyd/default.conf new file mode 100644 index 0000000..3c841d9 --- /dev/null +++ b/.config/keyd/default.conf @@ -0,0 +1,21 @@ +# Apply config to all keyboards +[ids] +* + +# Tap CapsLock for Escape, hold it for Control. +# +# Right control is mapped to the compose key: +# - leftcontrol is bound to emit altgr (rightalt) +# - rightalt is bound to the compose key (in KDE shortcuts) +# This works well since I don't use altgr/rightalt +[main] +capslock = overload(control, esc) +leftcontrol = layer(altgr) + +# CTRL+M Enter +# CTRL+; Delete +# CTRL+H Backspace +[control] +m = enter +; = delete +h = backspace diff --git a/.config/kxkbrc b/.config/kxkbrc new file mode 100644 index 0000000..c83ebbd --- /dev/null +++ b/.config/kxkbrc @@ -0,0 +1,3 @@ +[Layout] +Options=compose:ralt +ResetOldOptions=true |
