Advertisement
hackloper775

figlet-color

Feb 8th, 2013
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.54 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Colores
  4.  
  5. Negro='0;30m'
  6. Gris_oscuro='1;30m'
  7. Azul='0;34m'
  8. Azul_claro='1;34m'
  9. Verde='0;32m'
  10. Verde_claro='1;32m'
  11. Cyan='0;36m'
  12. Cyan_claro='1;36m'
  13. Rojo='0;31m'
  14. Amarillo='1;33m'
  15. Gris_claro='0;37m'
  16. blanco='1;37m'
  17.  
  18. # Texto
  19.  
  20. texto="Gentoo Linux"
  21.  
  22. # Formato: ver opciones con
  23.  
  24. # ls /usr/share/figlet/*flf | cut -d "/" -f 5 | cut -d "." -f 1
  25.  
  26. formato="speed"
  27.  
  28. # No modificar a menos de conocer otras opciones
  29.  
  30. figura=`figlet -f $formato $texto`
  31.  
  32. # Modificar color en este caso Cyan
  33.  
  34. echo -e "\e[$Cyan$figura"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement