1 2 3 4 5 6 7
#!/usr/bin/rc line=`{sed -e 's,\t, ,g' /lib/keyboard | dmenu -l 10 } code=`{echo $line | awk '{print $1}'} if(! ~ $code '') { xdotool key U$code }