From b3db4fe149c6cc0c50a25967799e1ccce96543ed Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 6 Jun 2024 04:35:00 -0700 Subject: docs: add readme --- README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0770501 --- /dev/null +++ b/README.md @@ -0,0 +1,45 @@ +
+

zed-theme-wal

+ + A theme for the Zed text editor that utilises your [wal](https://github.com/dylanaraps/pywal) colour scheme + +
+ + +
+ +# Usage + +Since this theme is dynamic in nature, it can't exactly be committed to Zed's extension repository just yet due to the way extensions work. +You'll have to follow a few steps. + +```bash +# Clone the repository locally +git clone https://github.com/Fuwn/zed-theme-wal.git + +# Navigate into the extension folder +cd zed-theme-wal + +# Generate the theme from your wal colour scheme +chmod +x ./generate_theme && ./generate_theme +``` + +After these steps, you'll have a fully useable Zed theme generated from your wal colour scheme ready to install. + +1. Open Zed. +2. Press Ctrl + Shift + P to open the command palette. +3. Search for "extensions" and click on "zed: extensions". +4. Click on "Install Dev Extension", navigate to local repository copy, and select it. +5. Press Ctrl + K, then Ctrl + T, and select the "wal" theme. + +You've done it! You should now see your current wal colour scheme applied to Zed. + +## Updating + +`zed-theme-wal`'s `generate_theme` script is path safe, so feel free to put this in any of your background setting scripts as a hook, or even add a global +alias to it and run it after you change your wallpaper. Zed will automatically update any local themes you have installed, so you only have to go through the +above process once! + +# Licence + +This project is licensed with the [GNU General Public License v3.0](./LICENSE). -- cgit v1.2.3