#!/bin/bash
# Grab ~/.Xresources colors
# Use like so:
#   source xvars
XBG="$(xrdb -query | grep -m 1 background: | awk '{print $2}')"
XFG="$(xrdb -query | grep -m 1 foreground: | awk '{print $2}')"
X0="$(xrdb -query | grep -m 1 color0: | awk '{print $2}')"
X1="$(xrdb -query | grep -m 1 color1: | awk '{print $2}')"
X2="$(xrdb -query | grep -m 1 color2: | awk '{print $2}')"
X3="$(xrdb -query | grep -m 1 color3: | awk '{print $2}')"
X4="$(xrdb -query | grep -m 1 color4: | awk '{print $2}')"
X5="$(xrdb -query | grep -m 1 color5: | awk '{print $2}')"
X6="$(xrdb -query | grep -m 1 color6: | awk '{print $2}')"
X7="$(xrdb -query | grep -m 1 color7: | awk '{print $2}')"
X8="$(xrdb -query | grep -m 1 color8: | awk '{print $2}')"
X9="$(xrdb -query | grep -m 1 color9: | awk '{print $2}')"
X10="$(xrdb -query | grep -m 1 color10: | awk '{print $2}')"
X11="$(xrdb -query | grep -m 1 color11: | awk '{print $2}')"
X12="$(xrdb -query | grep -m 1 color12: | awk '{print $2}')"
X13="$(xrdb -query | grep -m 1 color13: | awk '{print $2}')"
X14="$(xrdb -query | grep -m 1 color14: | awk '{print $2}')"
X15="$(xrdb -query | grep -m 1 color15: | awk '{print $2}')"
