summaryrefslogtreecommitdiff
path: root/.local/bin/xresource
blob: 5ada63ccc5d59db9072180b9f1aede64825d15f4 (plain)
1
2
3
4
5
#!/bin/sh

# This was specific for when you have bspwm.something defined in ~/.Xresources.
# xrdb -query | grep -E "^(bspwm|\*)\.$1" | sed -r "s/^[^:]+:\s+//" | tail -n 1
xrdb -query | grep $1 | sed -e 's/\ //' -e 's/\t//' | cut -d: -f2 | head -1