summaryrefslogtreecommitdiff
path: root/.scripts/set_xresources.sh
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-02-22 15:10:39 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-02-22 15:17:25 +0100
commit0827eefbaea40d9197fdfd126c914a908fa14916 (patch)
treeb603163ee1137eb6ca3c5dcc604730f92640ecc2 /.scripts/set_xresources.sh
parent977282178ea0d1623689d52bc956b0b412752375 (diff)
downloaddotfiles-0827eefbaea40d9197fdfd126c914a908fa14916.tar.gz
dotfiles-0827eefbaea40d9197fdfd126c914a908fa14916.tar.bz2
dotfiles-0827eefbaea40d9197fdfd126c914a908fa14916.zip
Fix typo in set_xresources filename
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