Closed deliberist closed 2 years ago
Thanks!
Great to see multitail on GitHub.
I was wondering if this PR implements my feature request I send in via mail a couple of years ago.
I think it would be great if you could add multiple files for color schemes.
Like in a /etc/multitail.d
directory.
This would make sharing and adding new color schemes may more easy than adding them to one big file.
I can open a new issue if this PR is about something else. 😄
Hi Christoph,
Can you try the https://github.com/folkertvanheusden/multitail/tree/cfg.d branch? It looks for cfg-files in /etc/multitail/cfg.d
On Sat, Oct 22, 2022 at 12:37 AM Christoph Wempe @.***> wrote:
Great to see multitail on GitHub.
I was wondering if this PR implements my feature request I send in via mail a couple of years ago.
I think it would be great if you could add multiple files for color schemes. Like in a /etc/multitail.d directory. This would make sharing and adding new color schemes may more easy than adding them to one big file.
I can open a new issue if this PR is about something else. 😄
— Reply to this email directly, view it on GitHub https://github.com/folkertvanheusden/multitail/pull/1#issuecomment-1287501440, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUN5IWYJJYIXRICLRXDZWVTWEMLKBANCNFSM53M22SSQ . You are receiving this because you modified the open/close state.Message ID: @.***>
Sorry, but I have not the experience (or time to figure it out) to compile that branch myself.
But I am looking forward to use this feature when it arrives in the repos my distributions use. 😃
Adding the ability for multitail to optionally use a config file based on the conventions of the XDG Base Directory Specification.
The implementation on this MR should ignore the
${XDG_CONFIG_HOME}
environment variable if users do not define it. Falling back to the original config file searching implementation. However, if${XDG_CONFIG_HOME}
is defined then multitail will search for the config under${XDG_CONFIG_HOME}/multitail/config
which is the typical location for app specific config files when following the XDG Base Dir Spec.Also included manpage updates.