diff options
Diffstat (limited to '.local/bin/bars')
-rwxr-xr-x | .local/bin/bars | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.local/bin/bars b/.local/bin/bars new file mode 100755 index 0000000..0e671b6 --- /dev/null +++ b/.local/bin/bars @@ -0,0 +1,22 @@ +#!/usr/bin/bash + +# ANSI color scheme script by pfh +# Source: http://crunchbang.org/forums/viewtopic.php?pid=139126#p139126 +# 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 |