Skip to content

Add k9s theme sync#5416

Open
fchtngr wants to merge 1 commit intobasecamp:devfrom
fchtngr:dev
Open

Add k9s theme sync#5416
fchtngr wants to merge 1 commit intobasecamp:devfrom
fchtngr:dev

Conversation

@fchtngr
Copy link
Copy Markdown

@fchtngr fchtngr commented Apr 24, 2026

Generate a k9s skin from the active Omarchy theme and sync it to ~/.config/k9s/skins/omarchy.yaml when a k9s config directory already exists.

Enable it in k9s with:

k9s:
  ui:
    skin: omarchy

Generate a k9s skin from the active Omarchy theme and sync it to
~/.config/k9s/skins/omarchy.yaml when a k9s config directory already
exists.

Enable it in k9s with:

k9s:
  ui:
    skin: omarchy
Copilot AI review requested due to automatic review settings April 24, 2026 05:44
@fchtngr
Copy link
Copy Markdown
Author

fchtngr commented Apr 24, 2026

Not sure if this is fine as an addition to omarchy or better as a stand-alone thing (using the hook) to install (like omazed). Its small enough that i think it could directly into omarchy. but let me know otherwise, and I'll setup a standalone package to install.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds automatic syncing of the active Omarchy theme to a k9s UI skin, generating a k9s.yaml from the theme colors and copying it into the user’s k9s skins directory when k9s is already configured.

Changes:

  • Add a themed k9s.yaml.tpl template to generate a k9s skin from Omarchy color tokens.
  • Add omarchy-theme-set-k9s to copy the generated k9s.yaml into ~/.config/k9s/skins/omarchy.yaml (only if ~/.config/k9s already exists).
  • Invoke the new k9s sync step from the main omarchy-theme-set flow.

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated no comments.

File Description
default/themed/k9s.yaml.tpl New k9s skin template wired into the existing template generation flow.
bin/omarchy-theme-set-k9s New theme-sync script that installs the generated skin into the k9s skins directory when applicable.
bin/omarchy-theme-set Calls the new k9s sync script as part of theme application.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fchtngr
Copy link
Copy Markdown
Author

fchtngr commented Apr 24, 2026

screenshot-2026-04-24_08-41-17 screenshot-2026-04-24_08-33-31

two examples, nord + osaka jade themes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants