sh 703 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. if [ "$TERM" = linux ] ; then
  3. # Running from Linux virtual console.
  4. # Virtual console colors.
  5. printf "\033]P0000000" # Black.
  6. printf "\033]P8666666" # Darkgrey.
  7. printf "\033]P1DD2222" # Darkred.
  8. printf "\033]P9FF0000" # Red.
  9. printf "\033]P267E300" # Darkgreen.
  10. printf "\033]PAA9F16C" # Green.
  11. printf "\033]P3F7FF00" # Brown.
  12. printf "\033]PBEBF22C" # Yellow..
  13. printf "\033]P45190D0" # Darkblue.
  14. printf "\033]PC346AA1" # Blue.
  15. printf "\033]P5FF6E00" # Darkmagenta.
  16. printf "\033]PDDE6000" # Magenta.
  17. printf "\033]P600CFCF" # Darkcyan.
  18. printf "\033]PE00FFFF" # Cyan.
  19. printf "\033]P7DDDDDD" # Lightgrey.
  20. printf "\033]PFFFFFFF" # White.
  21. #clear # For background artifacting.
  22. fi