* .local/bin/startup-progs: Fix merging X reources files.
[~bandali/configs] / .local / bin / startup-progs
index ab1c99f..cc641bf 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh
 
-[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
+resources="$HOME/.Xresources $HOME/.Xresources.d/$(hostname)"
+for res in $resources; do [ -f "$res" ] && xrdb -merge "$res"; done
 
 xsetroot -cursor_name left_ptr
 xset r rate 200 45