From: Amin Bandali Date: Thu, 24 Nov 2022 01:44:54 +0000 (-0500) Subject: * .local/bin/startup-progs: Add host-specific X resources. X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/12d3136987d6821680eb6045af13bf3fcad47b9b?ds=sidebyside * .local/bin/startup-progs: Add host-specific X resources. --- diff --git a/.local/bin/startup-progs b/.local/bin/startup-progs index ab1c99f..0c37df0 100755 --- a/.local/bin/startup-progs +++ b/.local/bin/startup-progs @@ -1,6 +1,7 @@ #!/bin/sh -[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources +resources="~/.Xresources ~/.Xresources.d/$(hostname)" +for res in $resources; do [ -f "$res" ] && xrdb -merge "$res"; done xsetroot -cursor_name left_ptr xset r rate 200 45