Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- test -e /tmp/yadpipe03 && rm -f /tmp/yadpipe03
- # Named pipe initialization
- export PIPE_03=/tmp/yadpipe03
- mkfifo $PIPE_03
- exec 3<> $PIPE_03
- if yad --title="ITS Solutions" --question --text "<b>Yes for terminal look up</b>" --button="Terminal Look-up" --button="Dictionary GUI"; then
- curl dict.org/d:"$(zenity --title "Curl Dictionary Lookup" --entry)"
- else
- xfce4-dict
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement