Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Zed theme and font synchronization with Omakub #327

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

imoneo
Copy link

@imoneo imoneo commented Oct 29, 2024

This PR enhances Zed code editor with theme and font switching sync and addresses past issue discussion #226 .

The synchronization works both for an already installed Zed configuration and for a fresh installation.

Notice:

Zed installs extensions at runtime and recognizes them at startup. After the first theme switch, Zed might not change theme without restarting application (if the theme was not installed before). Only Rose Pine works "out of the box", because this theme is a native Zed extension. This also applies to fonts.

Initial Zed "settings.json" file contains c/c++ style comments, which can be easily removed by using c pre-processor. It was necessary to use `jq` and not `sed`, because by default "theme" has an object assigned to it and "buffer_font_family" key is absent.

To make Zed more blend in Omakub after installation i decided to set Tokyo Night theme and Caskaydia font just after installation is completed.
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