diff --git a/color-scripts/hex b/color-scripts/hex index 12e5fb2..efdf78b 100755 --- a/color-scripts/hex +++ b/color-scripts/hex @@ -4,7 +4,7 @@ # Source: http://crunchbang.org/forums/viewtopic.php?pid=135226#p135226 xdef="$HOME/.Xresources" -colors=( $( sed -re '/^!/d; /^$/d; /^#/d; s/(\*color)([0-9]):/\10\2:/g;' $xdef | grep 'color[01][0-9]:' | sort | sed 's/^.*: *//g' ) ) +colors=( $( sed -re '/^!/d; /^$/d; /^#/d; s/(\*color)([0-9]):/\10\2:/g;' $xdef | grep -E 'color[0-9]+:' | sort | sed 's/^.*: *//g' ) ) echo -e "\e[1;37m Black Red Green Yellow Blue Magenta Cyan White