Xrdb
From wikinotes
Loads/Merges Xresources files, which customizes properties of the X root window.
Documentation
man x
https://man.archlinux.org/man/extra/xorg-docs/X.7.en man xrdb
https://man.archlinux.org/man/extra/xorg-xrdb/xrdb.1.en
Usage
xrdb -query -all # list all current settings xrdb -merge ~/.Xresources # merge Xresources overtop of current
Xresources/Xdefaults syntax
Variables
#define foo #111222 Xterm.foreground: fooSourcing Files
You can split up your Xresources into multiple files.
#include "~/.Xresources/foo" #include "~/.Xresources/bar"