Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #declare -a arr=(`echo $1 | tr -d "\"" | tr -s " ",",","!","?",".","-","—" "\n"`)
- declare -a arr=(`cat /tmp/sub`)
- result=""
- count_arr=${#arr[@]}
- for ((i=0; i<count_arr; i++)) do
- result+="\n${arr[$i]}\t —`sdcv -n -u dictd_www.mova.org_sokrat_enru ${arr[$i]} | head -n6 | tail -n1`"
- done
- echo "naughty.notify({font = beautiful.font, title = '$1', text = \"${result}\" })" | awesome-client
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement