summaryrefslogtreecommitdiff
path: root/.scripts/set_xressources.sh
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/set_xressources.sh')
-rwxr-xr-x.scripts/set_xressources.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/.scripts/set_xressources.sh b/.scripts/set_xressources.sh
index a24f8ef..a51650b 100755
--- a/.scripts/set_xressources.sh
+++ b/.scripts/set_xressources.sh
@@ -1,6 +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 xrdb -merge {} \;
+ -exec cat {} + | xrdb -merge