1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,12 @@ |
1 |
+## Check if dependencies are available |
|
2 |
+[ "$(command -v xrdb)" ] || return 0 |
|
3 |
+ |
|
4 |
+## Merge X Resources |
|
5 |
+for path in "$HOME/.Xresources" "$HOME/.Xresources.d/"*".Xresources" |
|
6 |
+do |
|
7 |
+ if [ -r "$path" ] |
|
8 |
+ then |
|
9 |
+ xrdb -merge "$path" |
|
10 |
+ fi |
|
11 |
+done |
|
12 |
+unset path |