aboutsummaryrefslogtreecommitdiffstats
path: root/keymap.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-12-10 17:48:56 +0000
committerterminaldweller <thabogre@gmail.com>2021-12-10 17:48:56 +0000
commitede82b4f75d125537933364b0b2558c57e4fb905 (patch)
treed51c76db531f08697615ba7464c285073979fb7c /keymap.sh
parentupdates (diff)
downloadscripts-ede82b4f75d125537933364b0b2558c57e4fb905.tar.gz
scripts-ede82b4f75d125537933364b0b2558c57e4fb905.zip
update for keymappings for xcape
Diffstat (limited to '')
-rwxr-xr-xkeymap.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/keymap.sh b/keymap.sh
index f5e6820..7172b8f 100755
--- a/keymap.sh
+++ b/keymap.sh
@@ -1,7 +1,11 @@
#!/usr/bin/sh
-xcape -e 'Control_L=Escape'
+#xcape -e 'Caps_Lock=Escape'
+setxkbmap -option 'caps:ctrl_modifier'
+xcape -e 'Caps_Lock=Escape' -t 100
xcape -e 'Shift_L=Shift_L|bracketleft'
xcape -e 'Shift_R=Shift_R|bracketright'
xcape -e 'Alt_L=parenleft'
xcape -e 'Alt_R=parenright'
+xcape -e 'Control_L=bracketleft'
+xcape -e 'Control_R=bracketright'