summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2022-11-23 20:44:54 -0500
committerAmin Bandali <bandali@gnu.org>2022-11-23 20:44:54 -0500
commit12d3136987d6821680eb6045af13bf3fcad47b9b (patch)
tree3f4cfd4b16376c88fefa4571b1b3d54638fe5ce7 /.local/bin
parentaf78214bf739edac031fe183327b8361d05f72fd (diff)
downloadconfigs-12d3136987d6821680eb6045af13bf3fcad47b9b.tar.gz
configs-12d3136987d6821680eb6045af13bf3fcad47b9b.tar.xz
configs-12d3136987d6821680eb6045af13bf3fcad47b9b.zip
* .local/bin/startup-progs: Add host-specific X resources.
Diffstat (limited to '')
-rwxr-xr-x.local/bin/startup-progs3
1 files changed, 2 insertions, 1 deletions
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