aboutsummaryrefslogtreecommitdiff
path: root/X/xinitrc.d/xkb.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-15 14:21:52 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-15 14:21:52 +1300
commitd235ffc6b1192662b86005cb6ce45866ffb12ac2 (patch)
tree482ab690e4868e40cb44f3ebdf5281f8141ae0e1 /X/xinitrc.d/xkb.sh
parentAdd an issue about fc (diff)
downloaddotfiles-d235ffc6b1192662b86005cb6ce45866ffb12ac2.tar.gz
dotfiles-d235ffc6b1192662b86005cb6ce45866ffb12ac2.zip
Use .d directory for .xinitrc subscripts
Diffstat (limited to 'X/xinitrc.d/xkb.sh')
-rw-r--r--X/xinitrc.d/xkb.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/X/xinitrc.d/xkb.sh b/X/xinitrc.d/xkb.sh
new file mode 100644
index 00000000..32b7cf9a
--- /dev/null
+++ b/X/xinitrc.d/xkb.sh
@@ -0,0 +1,4 @@
+# Map Caps Lock as a Ctrl key, use right alt as Compose, kill X server with
+# Ctrl+Alt+Backspace
+# <https://en.wikipedia.org/wiki/Compose_key#Common_compose_combinations>
+setxkbmap -option compose:ralt,ctrl:nocaps,terminate:ctrl_alt_bksp