summaryrefslogtreecommitdiff
path: root/.scripts/set_xresources.sh
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/set_xresources.sh')
-rwxr-xr-x.scripts/set_xresources.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/.scripts/set_xresources.sh b/.scripts/set_xresources.sh
new file mode 100755
index 0000000..a51650b
--- /dev/null
+++ b/.scripts/set_xresources.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+#find ~/.config/ \
+# -mindepth 2 -maxdepth 2 \
+# -type f -iname "*.xdefaults" \
+# -exec xrdb -merge {} \;
+
+# It is faster to concat first and execute xrdb only once.
+find ~/.config/ \
+ -mindepth 2 -maxdepth 2 \
+ -type f -iname "*.xdefaults" \
+ -exec cat {} + | xrdb -merge