mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-26 23:34:57 +08:00
23 lines
491 B
Bash
Executable file
23 lines
491 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# ANSI color scheme script by pfh
|
|
# Source: http://crunchbang.org/forums/viewtopic.php?pid=141044#p141044
|
|
# Initializing mod by lolilolicon from Archlinux
|
|
|
|
|
|
f=3 b=4
|
|
for j in f b; do
|
|
for i in {0..7}; do
|
|
printf -v $j$i %b "\e[${!j}${i}m"
|
|
done
|
|
done
|
|
bld=$'\e[1m'
|
|
rst=$'\e[0m'
|
|
inv=$'\e[7m'
|
|
|
|
cat << EOF
|
|
|
|
$f1▀■▄ $f2▀■▄ $f3▀■▄ $f4▀■▄ $f5▀■▄ $f6▀■▄
|
|
$bld$f1▀■▄ $f2▀■▄ $f3▀■▄ $f4▀■▄ $f5▀■▄ $f6▀■▄$rst
|
|
|
|
EOF
|