X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/b4026315d11def205f0d2d6e9ad698bd75c3a5ad..8c1ecff38afe44dc3abbc340ae10e94e83f106ea:/.local/bin/startup-progs diff --git a/.local/bin/startup-progs b/.local/bin/startup-progs index ab1c99f..2040de2 100755 --- a/.local/bin/startup-progs +++ b/.local/bin/startup-progs @@ -1,6 +1,11 @@ #!/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 + +if [ -f "$HOME/.local/bin/$(hostname)/startup" ]; then + . "$HOME/.local/bin/$(hostname)/startup" +fi xsetroot -cursor_name left_ptr xset r rate 200 45