all repos — dotfiles @ f158d1fa05f036a187d999c2555d19b322d5ce21

my *nix dotfiles

bin/pallete.sh (view raw)

 1#!/usr/bin/env bash
 2# author: daniel neemann
 3# so you can see yr colors
 4
 5# color escapes
 6BLK="\e[30m"
 7RED="\e[31m"
 8GRN="\e[32m"
 9YLW="\e[33m"
10BLU="\e[34m"
11PUR="\e[35m"
12CYN="\e[36m"
13BRED="\e[31m"
14BGRN="\e[32m"
15BYLW="\e[33m"
16BBLU="\e[34m"
17BPUR="\e[35m"
18BCYN="\e[36m"
19WHT="\e[37m"
20RST="\e[0m"
21
22# build the color bars
23BAR="███"
24((LEN = ${#BAR} * 6))
25OUTT="$RED$BAR$GRN$BAR$YLW$BAR$BLU$BAR$PUR$BAR$CYN$BAR$RST"
26
27printf "\n"
28printf "$OUTT\n"
29printf "$OUTT\n"
30printf "$OUTT\n"
31printf "$OUTT\n"
32printf "$OUTT\n"
33printf "$OUTT\n"
34printf "\n"