summaryrefslogtreecommitdiff
path: root/.local/bin/xresource
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/xresource')
-rwxr-xr-x.local/bin/xresource3
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/bin/xresource b/.local/bin/xresource
new file mode 100755
index 0000000..6fe925a
--- /dev/null
+++ b/.local/bin/xresource
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+xrdb -query | grep -E "^(bspwm|\*)\.$1" | sed -r "s/^[^:]+:\s+//" | tail -n 1