From d719f804bab62b0525f6f44cc8c6820ddd4b42d0 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Thu, 24 Dec 2020 16:25:46 -0700 Subject: Fix bug --- .local/bin/xresource | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf