mirror of
https://github.com/purhan/dotfiles.git
synced 2026-01-06 23:51:24 +08:00
first commit
This commit is contained in:
commit
a6c665c17f
619 changed files with 21468 additions and 0 deletions
24
conf-scripts/appearance/colors.sh
Executable file
24
conf-scripts/appearance/colors.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Show the terminal colourscheme as blocks
|
||||
# Inspired by u/dkeg
|
||||
# Cheers! Addy
|
||||
|
||||
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
|
||||
d=$'\e[1m'
|
||||
t=$'\e[0m'
|
||||
v=$'\e[7m'
|
||||
|
||||
cat << EOF
|
||||
|
||||
$f1██████$d██$t $f2██████$d██$t $f3██████$d██$t $f4██████$d██$t $f5██████$d██$t $f6██████$d██$t
|
||||
$f1██████$d██$t $f2██████$d██$t $f3██████$d██$t $f4██████$d██$t $f5██████$d██$t $f6██████$d██$t
|
||||
$f1██████$d██$t $f2██████$d██$t $f3██████$d██$t $f4██████$d██$t $f5██████$d██$t $f6██████$d██$t
|
||||
$ft██████$d$f7██$t $ft██████$d$f7██$t $ft██████$d$f7██$t $ft██████$d$f7██$t $ft██████$d$f7██$t $ft██████$d$f7██$t
|
||||
|
||||
EOF
|
||||
Loading…
Add table
Add a link
Reference in a new issue