Move host-specific additional profiles into .config/ itself
[~bandali/configs] / .local / bin / startup-progs
index f9b4143..0c37df0 100755 (executable)
@@ -1,11 +1,7 @@
 #!/bin/sh
 
 #!/bin/sh
 
-[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
-
-# setxkbmap \
-#     -layout us,ir \
-#     -option ctrl:nocaps \
-#     -option grp:shifts_toggle
+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
 
 xsetroot -cursor_name left_ptr
 xset r rate 200 45