~scriptsvosh
20 itemsDownload ./*

20 itemsDownload ./*

..
2spooky.lua
README.md
blocks
colors
colorscheme
dna
dna1
faces
fetch
invaders
lines
pacman
pipes
rallyx
rectangles
skull
slendy
tanks
tux
xrally


voshcolors
1 744•  10 years ago•  DownloadRawClose
10 years ago•  1 744

{}
#!/bin/bash

xdef="$HOME/.Xdefaults"

colors=( $( sed -re '/^!/d; /^$/d; /^#/d; s/(\*color)([0-9]):/\10\2:/g;' $xdef | grep 'color[01][0-9]:' | sort | sed  's/^.*: *//g' ) )

echo -e "\e[1;37m 
 Black    Red      Green    Yellow   Blue     Magenta   Cyan    White   
──────────────────────────────────────────────────────────────────────\e[0m"
for i in {0..7}; do echo -en "\e[$((30+$i))m ${colors[i]} \e[0m"; done
echo
for i in {8..15}; do echo -en "\e[1;$((22+$i))m ${colors[i]} \e[0m"; done
echo -e "\n"

Top
©twily.info 2013 - 2024
twily at twily dot info



2 158 919 visits
... ^ v