Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- result=""
- if [[ -n "$1" ]]; then
- result="`sdcv -n -u dictd_www.mova.org_sokrat_enru $1 | head -n6 | tail -n1`"
- else
- exit
- fi
- command=`cat <<EOF
- local naughty = require("naughty")
- naughty.notify({ position = "top_right", title = "$1", text = "${result}" })
- EOF
- `
- echo "${command}" | awesome-client
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement