8000 host/OS aware sub configuration support · Issue #1733 · contour-terminal/contour · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
host/OS aware sub configuration support #1733
@christianparpart

Description

@christianparpart
include_configuration: "/home/username/.config/contour/config.d/${OSNAME}-${HOSTNAME}/*.conf"

The idea here is, that our contour.yml is the base config, but we can override things in here using a special include file, that is loaded after this file, and overrides items that were already loaded.

To make it more flexible, the user can use substitution variables (as shown above), e.g.:

  • "${OSNAME}" -> "Windows", "Linux", "macOS", default uname based on what the syscall is returning us
  • "${HOSTNAME}" -> so people can have hostname specific sub config overrides
  • .... anything else that would make sense?

Metadata

Metadata

Assignees

No one assigned

    Labels

    configContour Configuration relatedfrontendContour Terminal Emulator (GUI frontend)good first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0