diff options
Diffstat (limited to '.local/bin')
-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 |