aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-04-16 15:12:20 -0400
committerRyan Kavanagh <rak@debian.org>2018-04-16 15:12:20 -0400
commitb79cbdbfe4dcba066ec2d4a5fe94ff307d19fea9 (patch)
treed9bde4031216a82fb1b228065df511b27cb96af9 /bin
parentErgoDox config (diff)
Kinesis at work randomly switched ctrl/alt; fix
Diffstat (limited to 'bin')
-rwxr-xr-xbin/icd5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/icd b/bin/icd
index 149c7bb..2949502 100755
--- a/bin/icd
+++ b/bin/icd
@@ -19,6 +19,7 @@ LAPTOP_OPTIONS="\
KIN_OPTIONS="\
${GLOBAL_OPTIONS} \
+ -geometry kinesis
-option lv3:switch \
-option caps:swapescape"
@@ -54,7 +55,9 @@ if [ "x${KIN_USB_ID}" != "x" ]; then
-I${XKB_DIR} \
-device ${XID} \
${KIN_OPTIONS} \
- -print | sed -e 's@+ctrl(nocaps)@@g;s@bksp)@bksp)+lalt_meta(lalt_meta)@g' > ${HOME}/.xkb/keymap/icd.kin
+ -print | \
+ sed -e 's@+ctrl(nocaps)@@g;s@bksp)@bksp)+lalt_meta(lalt_meta)@g' | \
+ sed -e '/xkb_keycodes/s/"[[:space:]]/+kinesisfix&/' > ${HOME}/.xkb/keymap/icd.kin
xkbcomp -I${HOME}/.xkb -i ${XID} -synch \
${HOME}/.xkb/keymap/icd.kin ${DISPLAY} # 2> /dev/null
done