summaryrefslogtreecommitdiff
path: root/herbstluftwm/fn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'herbstluftwm/fn.sh')
-rw-r--r--herbstluftwm/fn.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/herbstluftwm/fn.sh b/herbstluftwm/fn.sh
new file mode 100644
index 0000000..dd7b4ce
--- /dev/null
+++ b/herbstluftwm/fn.sh
@@ -0,0 +1,6 @@
+
+get_xresources() {
+ arr=( $(xrdb -q | grep $1 | head -1) )
+ echo -n "${arr[@]:1}"
+}
+