aboutsummaryrefslogtreecommitdiff
path: root/code/fun/colors
diff options
context:
space:
mode:
Diffstat (limited to 'code/fun/colors')
-rwxr-xr-xcode/fun/colors13
1 files changed, 0 insertions, 13 deletions
diff --git a/code/fun/colors b/code/fun/colors
deleted file mode 100755
index c8d527b..0000000
--- a/code/fun/colors
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/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"