9 lines
147 B
Bash
9 lines
147 B
Bash
#!/usr/bin/env bash
|
|
|
|
get_color()
|
|
{
|
|
XR_COLOR_DEF=$(grep "#define base$1 #" ~/.Xresources.colors)
|
|
echo ${XR_COLOR_DEF:16}
|
|
}
|
|
export -f get_color
|
|
|