diff options
author | David Luevano Alvarado <55825613+luevano@users.noreply.github.com> | 2020-12-24 16:25:46 -0700 |
---|---|---|
committer | David Luevano Alvarado <55825613+luevano@users.noreply.github.com> | 2020-12-24 16:25:46 -0700 |
commit | d719f804bab62b0525f6f44cc8c6820ddd4b42d0 (patch) | |
tree | be39985fc3e758df791d383682b5c8b017380bfd | |
parent | 87bbb3a9aa4e8dbade1bb6fd5f8a48a31a0f0b2d (diff) |
Fix bug
-rwxr-xr-x | .local/bin/xresource | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.local/bin/xresource b/.local/bin/xresource index 6fe925a..5ada63c 100755 --- a/.local/bin/xresource +++ b/.local/bin/xresource @@ -1,3 +1,5 @@ #!/bin/sh -xrdb -query | grep -E "^(bspwm|\*)\.$1" | sed -r "s/^[^:]+:\s+//" | tail -n 1 +# 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 |