Advertisement
v1ral_ITS

my personal terminal GUI text editor, EASY

Aug 12th, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.32 KB | None | 0 0
  1. #!/bin/bash
  2. ####################################
  3. #                    
  4. # START                
  5. # g0ne_@p0stal <v1ral_ITS>        
  6. # ImPerialTeKSolutions@outlook.com
  7. #                  
  8. ####################################
  9. echo "          #              #      "
  10. echo "          ################    ####"
  11. echo "          ################    ####"
  12. echo "          ################     ##"
  13. echo "                         #"
  14. echo "             #################"
  15. echo "          ####################"
  16. echo "          ####################"
  17. echo "          ##             #"
  18. echo "          ##"
  19. echo "            #"
  20. echo "          ####      ## "
  21. echo "          ####    ###### "
  22. echo "          ##     ######## "
  23. echo "          #     ####     #"
  24. echo "          #     ####     #"
  25. echo "          #     ####    ##"
  26. echo "          #    ####    ## "
  27. echo "           ########   ####"
  28. echo "            #####"
  29. echo " v1ral_ITS"
  30. echo " https://pastebin.com/u/v1ral_ITS"
  31. echo " ImPerialTeKSolutions@outlook.com"
  32. sleep 3
  33.  
  34. read FILE < <( yad --file-selection --title "ITS Simple Text Editor" )
  35. read EDIT_FILE< <( cat $FILE > /tmp/file.$$ )
  36. read NEW_FILE< <( cat /tmp/file.$$ | yad --width 650 --height 350 --text-info --editable > /tmp/file.save.$$ )
  37. read NEW_SAVE_FILE< <( mv /tmp/file.save.$$ $FILE )
  38.  
  39. $EDIT_FILE
  40. $FILE
  41. $NEW_FILE
  42. $NEW_SAVE_FILE
  43.  
  44. rm /tmp/file.$$
  45. rm /tmp/file.save.$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement