# Everything Green — pipeline sources # # Copy this file to ~/.config/everything-green/config.toml and list the # pipelines you want on the bar. Each [[sources]] entry names a provider # plugin and then that provider's own keys. Entries show up in the panel in # the order you write them here. # # Tokens work the same for every provider and are all optional. Pick one per # source, or one per provider: # token = "…" # inline; fine, but consider one of: # token_env = "MY_TOKEN_ENV_VAR" # read from the shell's environment # token_file = "~/.config/everything-green/github.token" # token_cmd = "secret-tool lookup ci github" # any command that prints it # # GitHub and GitLab sources need none of these when you are logged in to the # gh / glab CLI — the provider borrows that token for you. # Set auth = "none" on a source to always go without a token. # # How often sources are fetched again, in seconds (15 is the fastest, 3600 # the slowest). This applies to every source that does not set its own # refresh_interval_sec, and it also decides how often the widget runs the # collector at all. Leave it out to use the widget's own "Refresh interval" # setting for everything. # refresh_interval_sec = 60 # Defaults for one provider: keys in a [providers.] table are added to # every [[sources]] entry of that provider. A key on the source itself wins. # [providers.github] # token_env = "MY_GITHUB_TOKEN" # refresh_interval_sec = 120 # every GitHub source, unless it says otherwise # ── GitHub Actions ────────────────────────────────────────────────────────── # Public repos work without any auth. Private repos use your `gh` login # automatically, or a fine-grained token with Actions: read. # The three package sync jobs of omarchy-pkgs. workflow takes a file name, or # the workflow's numeric id — both go to the API as written, so a source is # always exactly one request per tick. A display name ("Sync AUR Packages") # is not accepted; to list the ids of workflows that have no file in the repo: # # gh api repos/OWNER/REPO/actions/workflows \ # --jq '.workflows[] | "\(.id)\t\(.name)\t\(.path)"' [[sources]] provider = "github" repo = "omacom-io/omarchy-pkgs" workflow = "sync-aur.yml" branch = "master" # optional: only runs on this branch label = "AUR sync" # optional: the name shown in the panel refresh_interval_sec = 900 # optional: these run on a schedule, not on push [[sources]] provider = "github" repo = "omacom-io/omarchy-pkgs" workflow = "sync-upstream.yml" branch = "master" label = "upstream sync" refresh_interval_sec = 900 [[sources]] provider = "github" repo = "omacom-io/omarchy-pkgs" workflow = "sync-rebuilds.yml" branch = "master" label = "rebuild sync" refresh_interval_sec = 900 # ── GitLab CI ─────────────────────────────────────────────────────────────── # Private projects use your `glab` login automatically, or a personal access # token with read_api scope. # [[sources]] # provider = "gitlab" # project = "gitlab-org/gitlab" # a path or a numeric project id # branch = "master" # must exist: GitLab answers 500 for an unknown ref # base_url = "https://gitlab.example.com" # self-hosted instances # token_env = "GITLAB_TOKEN" # ── Argo CD ───────────────────────────────────────────────────────────────── # Application health and sync status. Make a token for a local account or a # project role (argocd account generate-token). # [[sources]] # provider = "argocd" # server = "https://argocd.example.com" # app = "my-app" # token_env = "ARGOCD_TOKEN" # insecure = true # accept a self-signed certificate # ── Jenkins ───────────────────────────────────────────────────────────────── # The last build of a job. job is a path with slashes; a branch of a # multibranch pipeline is just one more part of that path. # [[sources]] # provider = "jenkins" # base_url = "https://jenkins.example.com" # job = "folder/my-job" # or "my-pipeline/main" # username = "me" # token_env = "JENKINS_TOKEN" # a Jenkins API token # ── Your own provider ─────────────────────────────────────────────────────── # Drop a python file into ~/.config/everything-green/providers/ and use its # PROVIDER name here. See "Writing a provider" in the README. # [[sources]] # provider = "my-provider" # whatever = "keys your provider reads"