This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/scripts/get_color.sh
2016-01-06 11:55:04 -06:00

10 lines
145 B
Bash

#!/usr/bin/env sh
get_color()
{
XR_COLOR_DEF=$(grep "#define base$1 #" ~/.Xresources.colors)
echo ${XR_COLOR_DEF:16}
}
export -f get_color