#!/bin/bash

# pipe=/tmp/testpipe

# trap "rm -f $pipe" EXIT
# 
# if [[ ! -p $pipe ]]; then
    # mkfifo $pipe
# fi

# echo "$QUTE_FIFO" > $HOME/fifoa
# 
# echo "jseval window.location.href"
# 
# while true
# do
    # if read -r line <"$QUTE_FIFO"; then
        # if [[ "$line" == 'quit' ]]; then
            # break
        # fi
        # echo "$line"
    # fi
# done
# 
# echo "Reader exiting"

echo "open -t https://www.dict.cc/?s=$QUTE_SELECTED_TEXT" >> "$QUTE_FIFO"
