summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2022-10-14 14:36:44 -0500
committerMitsuo Tokumori <[email protected]>2022-10-14 14:36:44 -0500
commit452c94652f63d2ed07ffb7ddef8545c4d5bbea3c (patch)
treeb3cc55f1a01033fbd7b841a0963fec88cf8715ff
parent5f51ce5761d0f1d5b1fe2129c2e97a044fca8710 (diff)
downloaddotfiles-452c94652f63d2ed07ffb7ddef8545c4d5bbea3c.tar.gz
dotfiles-452c94652f63d2ed07ffb7ddef8545c4d5bbea3c.tar.bz2
dotfiles-452c94652f63d2ed07ffb7ddef8545c4d5bbea3c.zip
Map CAPSLOCK to ESC in Xorg
-rw-r--r--Xorg/xinitrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Xorg/xinitrc b/Xorg/xinitrc
index da6c95b..a9dbcb0 100644
--- a/Xorg/xinitrc
+++ b/Xorg/xinitrc
@@ -57,6 +57,9 @@ export XMODIFIERS=@im=fcitx
# xbindkeys (keyboard shortcuts)
xbindkeys
+# map CAPSLOCK to ESC
+setxkbmap -option caps:escape
+
# KDE Plasma (DE)
export DESKTOP_SESSION=plasma
exec startplasma-x11