Changes
This commit is contained in:
27
local/share/qutebrowser/userscripts/pipe.sh
Executable file
27
local/share/qutebrowser/userscripts/pipe.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user