New internal function: line_in_file
New internal function: line_in_file

Helper function to check config file against pattern and if it doesn't match,
add line to it.

It was currently used only in set_xresource but can be useful elsewhere.

AuditeMarlow/base16-manager