Add wezterm terminal config and support theme switcher#2680
Add wezterm terminal config and support theme switcher#2680dansdantas wants to merge 1 commit intobasecamp:devfrom
Conversation
|
I want to try Omarchy and love the theme switcher. I am a wezterm user, so a deep integration into wezterm is actually what I appreciate when finally starting out. I hope this PR can land sometime. 🙏 Thank you @dansdantas! You actually took the time to patch all the themes that ship with Omarchy? That's just awesome, but it will require other theme maintainers to add wezterm support as well. I also have have 3 more questions of which one is off-topic:
|
|
We can now do this without needing per-theme configs. If you'd like to explore this again with the new theming system, please do! |
b99d0e9 to
ef6eca2
Compare
|
sorry, didn't realize this pr was already in place. I have a similar one that also include the support for wezterm for the screensaver launcher script here #4836. Feel free to close mine in case this get merged |
There was a problem hiding this comment.
Pull request overview
Adds WezTerm as an additional supported terminal by shipping a default WezTerm config and a theme-template intended to integrate with Omarchy’s theme switcher.
Changes:
- Add a migration to copy the default
wezterm.luainto~/.config/wezterm/if missing. - Add a themed template for generating
~/.config/omarchy/current/theme/wezterm.lua. - Update terminal restart script to trigger WezTerm config reload by
touchingwezterm.lua.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| migrations/1771799066.sh | Installs default WezTerm config for existing users if not already present. |
| default/themed/wezterm.lua.tpl | Introduces a theme template intended to produce WezTerm color configuration from colors.toml. |
| config/wezterm/wezterm.lua | New default WezTerm config that loads theme output from ~/.config/omarchy/current/theme/wezterm.lua. |
| bin/omarchy-restart-terminal | Adds WezTerm to terminal restart flow by touching its config for reload. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
use new template system rename migration using standard command follow pattern to restart terminal Guard theme loading against emtpy HOME Change default font Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Grammar corrections Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Adjust warning message Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> receive correct colors after requesting from theme
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.