aboutsummaryrefslogtreecommitdiff
path: root/bin/icd
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2015-08-28 20:35:19 -0400
committerRyan Kavanagh <rak@debian.org>2015-08-30 15:21:30 -0400
commit25c702a2156c8993bf866725be512531d3b9f9bf (patch)
treebacfd628c4798427a32c00041db9bd9edb7591ec /bin/icd
parentAdded SCS imap account to mailx (diff)
Fixup icd some more
Diffstat (limited to 'bin/icd')
-rwxr-xr-xbin/icd6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/icd b/bin/icd
index b292d64..72c2745 100755
--- a/bin/icd
+++ b/bin/icd
@@ -21,14 +21,14 @@ KIN_OPTIONS="\
-option "lv3:switch" \
-option caps:swapescape"
-LAPTOP_ID=$(xinput | grep "(AT Translated Set 2 keyboard" | sed -e 's/.*id=\([0-9]\+\).*/\1/g')
+LAPTOP_ID=$(xinput | grep "AT Translated Set 2 keyboard" | sed -e 's/.*id=\([0-9]\+\).*/\1/g')
KIN_USB_ID=$(lsusb | grep -i "Kinesis Advantage Pro" | awk '{ print $6 }')
echo "Setting up laptop"
setxkbmap ${LAPTOP_OPTIONS} -device ${LAPTOP_ID} -print > ${XKB_DIR}/keymap/icd.laptop
#xkbcomp -I${HOME}/.xkb -i ${LAPTOP_ID} -synch \
xkbcomp -I${HOME}/.xkb -synch \
- /home/ryan/.xkb/keymap/icd.laptop $DISPLAY # 2> /dev/null
+ ${HOME}/.xkb/keymap/icd.laptop $DISPLAY # 2> /dev/null
if [ "x${KIN_USB_ID}" != "x" ]; then
echo "Setting up Kinesis"
@@ -47,4 +47,4 @@ if [ "x${KIN_USB_ID}" != "x" ]; then
${HOME}/.xkb/keymap/icd.kin ${DISPLAY} # 2> /dev/null
fi
-echo icd > /home/ryan/.xmonad/layout
+echo icd > ${HOME}/.xmonad/layout