diff options
| author | alexcoder04 <alexcoder04@protonmail.com> | 2022-01-30 12:46:42 +0000 |
|---|---|---|
| committer | alexcoder04 <alexcoder04@protonmail.com> | 2022-01-30 12:46:42 +0000 |
| commit | 71ba0ad4ef60e5299ab7dd37f2f39efc43f883b0 (patch) | |
| tree | eb10dbb0af4f2eab13d5b7c6428e436843d1e14f | |
| parent | Merge branch 'master' into 'master' (diff) | |
Let the user control location of the .Xresources file
| -rwxr-xr-x | colorscripts/hex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/colorscripts/hex b/colorscripts/hex index d7aa408..a4e5f26 100755 --- a/colorscripts/hex +++ b/colorscripts/hex @@ -3,7 +3,7 @@ # Author: SuNjACk # Source: http://crunchbang.org/forums/viewtopic.php?pid=135226#p135226 -xdef="$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 |