Link backgrounds instead of copying
This commit is contained in:
parent
89bda8468e
commit
10109bbadc
@ -27,12 +27,10 @@ if ! git clone "$REPO_URL" "$THEME_PATH"; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy backgrounds if present
|
# Link backgrounds if present
|
||||||
if [ -d $THEME_BACKGROUND_PATH ]; then
|
if [ -d $THEME_BACKGROUND_PATH ]; then
|
||||||
mkdir -p $BACKGROUNDS_THEME_PATH
|
ln -snf $THEME_BACKGROUND_PATH $BACKGROUNDS_THEME_PATH
|
||||||
cp $THEME_BACKGROUND_PATH/* $BACKGROUNDS_THEME_PATH/
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Apply the new theme with omarchy-theme-set
|
# Apply the new theme with omarchy-theme-set
|
||||||
omarchy-theme-set $THEME_NAME
|
omarchy-theme-set $THEME_NAME
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user