diff options
author | Elizabeth <lizhunt@amazon.com> | 2025-05-20 09:52:19 -0700 |
---|---|---|
committer | Elizabeth <lizhunt@amazon.com> | 2025-05-20 09:52:19 -0700 |
commit | 38022392c622872d6a02c83ca5438b7f92253a48 (patch) | |
tree | f1d458eb94046073705734419fbb7a4f16c1d488 | |
parent | 4ca85fa4fb4741135d0cd4ffbfb5b487dc25b360 (diff) | |
download | dotfiles-38022392c622872d6a02c83ca5438b7f92253a48.tar.gz dotfiles-38022392c622872d6a02c83ca5438b7f92253a48.zip |
Update theme
-rw-r--r-- | .gitmodules | 8 | ||||
m--------- | alacritty/.config/alacritty/alacritty-theme | 0 | ||||
-rwxr-xr-x | home/scripts/theme.sh | 4 |
3 files changed, 7 insertions, 5 deletions
diff --git a/.gitmodules b/.gitmodules index 9a042b9..9df473e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,8 @@ -[submodule "alacritty/.config/alacritty/alacritty-theme"] - path = alacritty/.config/alacritty/alacritty-theme - url = https://github.com/alacritty/alacritty-theme [submodule "tmux/.tmux/plugins/tpm"] path = tmux/.tmux/plugins/tpm url = https://github.com/tmux-plugins/tpm + shallow = true +[submodule "alacritty/.config/alacritty/alacritty-theme"] + path = alacritty/.config/alacritty/alacritty-theme + url = https://github.com/alacritty/alacritty-theme + shallow = true diff --git a/alacritty/.config/alacritty/alacritty-theme b/alacritty/.config/alacritty/alacritty-theme new file mode 160000 +Subproject 59a96ef4c734f97a1aadaa619b31cc1ca90a0fb diff --git a/home/scripts/theme.sh b/home/scripts/theme.sh index 3608c14..830f56b 100755 --- a/home/scripts/theme.sh +++ b/home/scripts/theme.sh @@ -13,10 +13,10 @@ log DEBUG "src $THEME_SRC -> dest $THEME_DEST" THEME_TEMPL="{{THEME}}" -find "$THEME_SRC/" -type f | while read source_file; do +find -L "$THEME_SRC/" -type f | while read source_file; do destination_file=`echo "$source_file" | sed "s|^$THEME_SRC|$THEME_DEST|g"` mkdir -p `dirname $destination_file` - log DEBUG "src $source_file -> dest $dest_file" + log DEBUG "src $source_file -> dest $destination_file" cat "$source_file" | sed "s|$THEME_TEMPL|$THEME|g" > $destination_file done |