diff options
author | alexcoder04 <alexcoder04@protonmail.com> | 2022-01-30 12:49:54 +0000 |
---|---|---|
committer | alexcoder04 <alexcoder04@protonmail.com> | 2022-01-30 12:49:54 +0000 |
commit | a0a789d5ae73352f307e72c3f3d41f3303a02901 (patch) | |
tree | 1e9969fe51a24b34ebfe6e88e7f5091b822e115a | |
parent | Let the user control location of the .Xresources file (diff) |
fix $ sign in hex script
-rwxr-xr-x | colorscripts/hex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/colorscripts/hex b/colorscripts/hex index a4e5f26..411196a 100755 --- a/colorscripts/hex +++ b/colorscripts/hex @@ -3,7 +3,7 @@ # Author: SuNjACk # Source: http://crunchbang.org/forums/viewtopic.php?pid=135226#p135226 -xdef="${XRESOURCES:-HOME/.Xresources}" +xdef="${XRESOURCES:-$HOME/.Xresources}" 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;97m |