Advertisement
constantin-net

rofi-translate-run

Apr 23rd, 2021
810
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. #!/bin/bash
  2. OUT=$(. /usr/local/sbin/rofi-translate.sh)
  3. while [ 1 = 1 ]
  4. do
  5.     if [[ -n "$OUT" && "$OUT" != *"Ничего похожего на"* ]]; then
  6.         OUT=$(. /usr/local/sbin/rofi-translate.sh "$OUT")
  7.     else
  8.         exit
  9.     fi
  10. done
  11. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement