mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Link backgrounds instead of copying
This commit is contained in:
@ -27,12 +27,10 @@ if ! git clone "$REPO_URL" "$THEME_PATH"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Copy backgrounds if present
|
||||
# Link backgrounds if present
|
||||
if [ -d $THEME_BACKGROUND_PATH ]; then
|
||||
mkdir -p $BACKGROUNDS_THEME_PATH
|
||||
cp $THEME_BACKGROUND_PATH/* $BACKGROUNDS_THEME_PATH/
|
||||
ln -snf $THEME_BACKGROUND_PATH $BACKGROUNDS_THEME_PATH
|
||||
fi
|
||||
|
||||
# Apply the new theme with omarchy-theme-set
|
||||
omarchy-theme-set $THEME_NAME
|
||||
|
||||
|
Reference in New Issue
Block a user