Advertisement
Guest User

Untitled

a guest
May 6th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. # SEE YOU SPACE COWBOY by DANIEL REHN (danielrehn.com)
  4. # Displays a timeless message in your terminal with cosmic color effects
  5.  
  6. # Usage: add "sh ~/seeyouspacecowboy.sh; sleep 2" to .bash_logout (or similar) in your home directory
  7. # (adjust the sleep variable to display the message for more seconds)
  8.  
  9. # Cosmic color sequence
  10.  
  11. ESC_SEQ="\x1b[38;5;"
  12. COL_01=$ESC_SEQ"160;01m"
  13. COL_02=$ESC_SEQ"196;01m"
  14. COL_03=$ESC_SEQ"202;01m"
  15. COL_04=$ESC_SEQ"208;01m"
  16. COL_05=$ESC_SEQ"214;01m"
  17. COL_06=$ESC_SEQ"220;01m"
  18. COL_07=$ESC_SEQ"226;01m"
  19. COL_08=$ESC_SEQ"190;01m"
  20. COL_09=$ESC_SEQ"154;01m"
  21. COL_10=$ESC_SEQ"118;01m"
  22. COL_11=$ESC_SEQ"046;01m"
  23. COL_12=$ESC_SEQ"047;01m"
  24. COL_13=$ESC_SEQ"048;01m"
  25. COL_14=$ESC_SEQ"049;01m"
  26. COL_15=$ESC_SEQ"051;01m"
  27. COL_16=$ESC_SEQ"039;01m"
  28. COL_17=$ESC_SEQ"027;01m"
  29. COL_18=$ESC_SEQ"021;01m"
  30. COL_19=$ESC_SEQ"021;01m"
  31. COL_20=$ESC_SEQ"057;01m"
  32. COL_21=$ESC_SEQ"093;01m"
  33. RESET="\033[m"
  34.  
  35. # Timeless message
  36.  
  37. printf "$COL_01 .d8888b. 8888888888 8888888888 Y88b d88P .d88888b. 888 888 \n"
  38. printf "$COL_02 d88P Y88b 888 888 Y88b d88P d88P\" \"Y88b 888 888 \n"
  39. printf "$COL_03 \"Y888b. 8888888 8888888 Y888P 888 888 888 888 \n"
  40. printf "$COL_04 \"Y88b. 888 888 888 888 888 888 888 \n"
  41. printf "$COL_05 \"888 888 888 888 888 888 888 888 \n"
  42. printf "$COL_06 Y88b d88P 888 888 888 Y88b. .d88P Y88b. .d88P \n"
  43. printf "$COL_07 \"Y8888P\" 8888888888 8888888888 888 \"Y88888P\" \"Y88888P\" \n"
  44. printf "$COL_08 .d8888b. 8888888b. d8888 .d8888b. 8888888888 \n"
  45. printf "$COL_09 d88P Y88b 888 Y88b d88888 d88P Y88b 888 \n"
  46. printf "$COL_10 \"Y888b. 888 d88P d88P 888 888 8888888 \n"
  47. printf "$COL_11 \"Y88b. 8888888P\" d88P 888 888 888 \n"
  48. printf "$COL_12 \"888 888 d88P 888 888 888 888 \n"
  49. printf "$COL_13 Y88b d88P 888 d8888888888 Y88b d88P 888 \n"
  50. printf "$COL_14 \"Y8888P\" 888 d88P 888 \"Y8888P\" 8888888888 \n"
  51. printf "$COL_15 .d8888b. .d88888b. 888 888 888888b. .d88888b. Y88b d88P \n"
  52. printf "$COL_16 d88P Y88b d88P\" \"Y88b 888 o 888 888 \"88b d88P\" \"Y88b Y88b d88P \n"
  53. printf "$COL_17 888 888 888 888 d888b 888 8888888K. 888 888 Y888P \n"
  54. printf "$COL_18 888 888 888 888d88888b888 888 \"Y88b 888 888 888 \n"
  55. printf "$COL_19 888 888 888 888 88888P Y88888 888 888 888 888 888 \n"
  56. printf "$COL_20 Y88b d88P Y88b. .d88P 8888P Y8888 888 d88P Y88b. .d88P 888 \n"
  57. printf "$COL_21 \"Y8888P\" \"Y88888P\" 888P Y888 8888888P\" \"Y88888P\" 888\n"
  58. printf "$RESET" # Reset colors to "normal"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement