Repository navigation
Conversation
|
Hey @melonamin, thanks for the work here! A few small things I ran into during testing:
{
"theme": "Omarchy Current"
}
sed -i '$a\' ~/.config/zed/themes/omarchy-current.jsonLet me know what you think—happy to help test any fixes or improvements! |
… - add touch command to ensure settings reload
|
@hamidriaz1998 thanks!
Let me know if you face any other issues! |
@melonamin THEMES_DIR="$HOME/.config/omarchy/themes/"
CURRENT_THEME_DIR="$HOME/.config/omarchy/current/theme"
# Update theme symlinks
ln -nsf "$THEME_PATH" "$CURRENT_THEME_DIR"This creates a symlink to the currently selected theme's directory. if (command -v zed &>/dev/null || command -v zeditor &>/dev/null) && [[ -f "$CURRENT_THEME_DIR/zed.json" ]]; then
mkdir -p ~/.config/zed/themes
ln -nsf "$CURRENT_THEME_DIR/zed.json" ~/.config/zed/themes/omarchy-current.jsonWith this approach,
I tried |
|
@hamidriaz1998 thanks, now I see what you mean, this is indeed better. |
|
@melonamin I am just curious, how did you migrate these themes to zed? |
|
A couple were copied directly from Zed Themes; they rest were generated from Omarchy Alacrity themes If this gets merged, theme authors can use this script to quickly add support. |
|
Appreciate this, but I don't want to carry theme support for all the optional editors. I could see this existing as a separate package of some sort, though. We've talked about potentially doing plugins. But by default, themeing is only for the default apps. |
|
@dhh Understandable! I'll enjoy proper Zed themes on my own until we have a plugin manager. |
Doesn't this defeat the purpose of having Zed in the Editor category on Omarchy installer? To have no integration anyone could install Zed from |
Summmary
This PR adds theme support for the Zed editor, allowing Omarchy's theme system to seamlessly integrate with Zed.
What's Changed
Technical Details
Testing
Screenshots
Catppuccin
Catppuccin Latte
Everforest
Gruvbox
Kanagawa
Matte Black
Nord
Osaka Jade
Ristretto
Rose Pine
Tokyo Night
Screen Recording
theme_switching_process.mp4