From 9418d8ccc707b08edec9bc363a67b6c18f53d8e2 Mon Sep 17 00:00:00 2001 From: Tomas Mirchev Date: Mon, 20 Oct 2025 15:42:37 +0200 Subject: [PATCH] sync theme script --- config/macos/bin/sync_theme | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 config/macos/bin/sync_theme diff --git a/config/macos/bin/sync_theme b/config/macos/bin/sync_theme new file mode 100755 index 0000000..4c2ab2a --- /dev/null +++ b/config/macos/bin/sync_theme @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +set -euo pipefail + +# URL="https://raw.githubusercontent.com/triimdev/invero.nvim/refs/heads/main/extras/ghostty/invero_day" +# THEME_DIR="$HOME/.config/ghostty/themes" +# THEME_NAME="Invero Day" + +URL="https://raw.githubusercontent.com/triimdev/invero.nvim/refs/heads/main/extras/wezterm/invero_day.toml" +THEME_DIR="$HOME/.config/wezterm/colors" +THEME_NAME="Invero Day.toml" + + +THEME_PATH="${THEME_DIR}/${THEME_NAME}" + +mkdir -p "$THEME_DIR" + +if curl -fsSL -o "$THEME_PATH" "$URL"; then + echo "Theme downloaded to $THEME_PATH" +else + echo "Failed to download theme." + exit 1 +fi +