Advertisement
Dobbie03

Info

Nov 30th, 2017
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. "#!/bin/bash
  2. clear
  3. # a system info script written by yours truly
  4. # it's hardcoded stuff, lulz
  5.  
  6. red="\e[31m"
  7. grn="\e[32m"
  8. ylw="\e[33m"
  9. cyn="\e[36m"
  10. blu="\e[34m"
  11. prp="\e[35m"
  12. bprp="\e[35;1m"
  13. rst="\e[0m"
  14. blk="\e[30m"
  15.  
  16. color-echo()
  17. { # print with colors
  18. echo -e " $red$1 $rst$2"
  19. }
  20.  
  21. # kernel
  22. color-echo 'ERRORERRORError' "$(uname -smr)"
  23.  
  24. # shell
  25. color-echo 'Shell ' 'error'
  26.  
  27. # wm
  28. color-echo 'WM ' 'WM NOT FOUND'
  29.  
  30. # distro
  31. color-echo 'Distro' 'DISTRO NOT FOUND'
  32.  
  33. # ascii art
  34. #echo -e " "
  35. #echo -e " (-_-) Sublime"
  36. #echo -e " "
  37.  
  38. # colors
  39. echo -e " $blkx$rst $red$rst $grn$rst $blu||||||$rst $ylw$rst $cyn$rst $prp$rst $bprp$rst""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement