diff options
author | Ryan Kavanagh <rak@debian.org> | 2015-08-28 20:35:19 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2015-08-30 15:21:30 -0400 |
commit | 25c702a2156c8993bf866725be512531d3b9f9bf (patch) | |
tree | bacfd628c4798427a32c00041db9bd9edb7591ec /bin/icd | |
parent | Added SCS imap account to mailx (diff) |
Fixup icd some more
Diffstat (limited to 'bin/icd')
-rwxr-xr-x | bin/icd | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |