diff options
author | Ryan Kavanagh <rak@debian.org> | 2013-07-25 07:55:10 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2013-07-25 08:45:09 -0400 |
commit | 386d70c6a8334ef6efaf03fa873b82ab6a807a05 (patch) | |
tree | 36632576f983655a8b13103d5f43295b9a6c4414 /bin | |
parent | Add tmux binding for creating sessions (diff) |
Bug fix in icd script
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/icd | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,12 +9,12 @@ OPTIONS="-option lv3:ralt_switch_multikey \ -variant icd" SUN_USB_ID=$(lsusb | grep Sun | awk '{ print $6 }') -SUN_XINPUT_ID=$(xinput | grep ${SUN_USB_ID} | sed -e 's/.*id=\([0-9]\+\).*/\1/g') setxkbmap ${OPTIONS} -print > ${HOME}/.xkb/keymap/icd xkbcomp -I/home/ryan/.xkb /home/ryan/.xkb/keymap/icd $DISPLAY 2> /dev/null -if [ "x${SUN_XINPUT_ID}" != "x" ]; then +if [ "x${SUN_USB_ID}" != "x" ]; then + SUN_XINPUT_ID=$(xinput | grep ${SUN_USB_ID} | sed -e 's/.*id=\([0-9]\+\).*/\1/g') setxkbmap \ -I${HOME}/.xkb \ -keycodes "rak" \ |