scripts

random scripts
git clone https://git.parazyd.org/scripts
Log | Files | Refs

randcolor (208B)


      1 #!/bin/sh
      2 #
      3 # parazyd - (c) wtfpl 2016
      4 # print a random terminal colorscheme
      5 
      6 for i in `seq 0 15`; do
      7     c=$(tr -cd "0-9a-f" < /dev/urandom | fold -bw 6 | sed 1q)
      8     printf "*color%d: #%s\n" "$i" "$c"
      9 done