3 # rlwrap provides readline to stuff which doesn't know readline by itself
4 RLWRAP
=$
(which rlwrap
2>/dev
/null
)
11 A_RERUN
="no" exec $RLWRAP $0
22 READ_OPTIONS
="$READ_OPTIONS -p awesome# "
27 which ${DBUS_SEND} > /dev
/null
30 echo "E: Unable to find" ${DBUS_SEND}
35 DBUS_DEST
=org.naquadah.awesome.awful
36 DBUS_METHOD
=${DBUS_DEST}.Remote.Eval
40 $DBUS_SEND --dest=$DBUS_DEST --type=method_call
--print-reply $DBUS_PATH \
41 $DBUS_METHOD string
:"$1" |
tail -n +2
44 while read ${USE_READLINE} ${READ_OPTIONS} line