From 25c702a2156c8993bf866725be512531d3b9f9bf Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 28 Aug 2015 20:35:19 -0400 Subject: Fixup icd some more --- bin/icd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3