Skip to content

Add native WezTerm support#4836

Open
iltumio wants to merge 4 commits intobasecamp:devfrom
iltumio:wezterm-support
Open

Add native WezTerm support#4836
iltumio wants to merge 4 commits intobasecamp:devfrom
iltumio:wezterm-support

Conversation

@iltumio
Copy link
Copy Markdown

@iltumio iltumio commented Mar 1, 2026

Summary

  • Adds WezTerm as a natively supported terminal alongside Alacritty, Ghostty, and Kitty
  • Uses the centralized template theming system (default/themed/wezterm.lua.tpl) — no per-theme configs needed
  • Adds screensaver support with a dedicated config in default/wezterm/screensaver.lua

Changes

  • config/wezterm/wezterm.lua — Default config matching Omarchy's terminal style (font, padding, decorations, keybindings). Loads theme colors dynamically via dofile() from the generated theme file.
  • default/themed/wezterm.lua.tpl — Theme template with {{ variable }} placeholders, processed by omarchy-theme-set-templates to generate a Lua colors table.
  • default/wezterm/screensaver.lua — Standalone screensaver config (black background, 18pt font, zero padding, hidden cursor).
  • bin/omarchy-launch-screensaver — Added *wezterm* case using wezterm --config-file ... start --class org.omarchy.screensaver.
  • bin/omarchy-restart-terminal — Added wezterm config touch to trigger its built-in auto-reload on theme change.

Generated by OpenClaw via Opengate.sh

Add wezterm as a supported terminal with config, screensaver, theme
template, and restart integration matching the existing pattern for
Alacritty, Ghostty, and Kitty.
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 first-class WezTerm support to Omarchy’s terminal theming + screensaver launch flow, aligning WezTerm styling and behavior with existing Alacritty/Ghostty/Kitty defaults.

Changes:

  • Introduces a WezTerm default config that loads Omarchy’s current theme colors dynamically.
  • Adds a centralized WezTerm theme template (default/themed/wezterm.lua.tpl) to generate ~/.config/omarchy/current/theme/wezterm.lua.
  • Adds a dedicated WezTerm screensaver config and wires WezTerm into the screensaver launcher + terminal restart hook.

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
default/wezterm/screensaver.lua Adds a minimal, black, “no chrome” WezTerm screensaver configuration.
default/themed/wezterm.lua.tpl Adds a template to generate WezTerm-compatible color tables from theme variables.
config/wezterm/wezterm.lua Adds the default WezTerm config with dynamic theme loading and Omarchy clipboard bindings.
bin/omarchy-restart-terminal Touches WezTerm config to trigger WezTerm auto-reload on theme changes.
bin/omarchy-launch-screensaver Adds a WezTerm branch to launch the screensaver using the new config file.

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

Comment thread config/wezterm/wezterm.lua Outdated
Copilot AI review requested due to automatic review settings March 25, 2026 08:21
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

Copilot reviewed 3 out of 5 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.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@iltumio
Copy link
Copy Markdown
Author

iltumio commented Apr 10, 2026

meanwhile I created this script https://gist.github.com/iltumio/50da77cfc37fc83b50e992b308c7d6f7

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