summaryrefslogtreecommitdiff
path: root/bin/.local
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-02-18 20:27:03 +0100
committerUrbain Vaes <urbain@vaes.uk>2019-02-18 20:27:03 +0100
commit80d6a1408977fb47a361c3c5da4dd178acfca9f5 (patch)
treebca6b5c2d06def8cfc49d80c258456deed32ddfb /bin/.local
parent8933be64e56ba7ddcd2d30f6135ab862a883e782 (diff)
Add Caps_Lock as shift-print
Diffstat (limited to 'bin/.local')
-rwxr-xr-xbin/.local/bin/keyboard4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/.local/bin/keyboard b/bin/.local/bin/keyboard
index b3fdfe2..b5d3900 100755
--- a/bin/.local/bin/keyboard
+++ b/bin/.local/bin/keyboard
@@ -26,6 +26,10 @@ xmodmap -e "keysym Caps_Lock = Control_L Control_L"
xmodmap -e "add Control = Control_L"
xcape -e 'Control_L=Escape'
+# Set Caps_Lock on escape
+xmodmap -e "keysym Print = Print Caps_Lock"
+xmodmap -e "add Lock = Caps_Lock"
+
# Make Shift (Shift, :)
xcape -e 'Shift_L=Shift_L|semicolon'