mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-19 04:08:53 +00:00
16 lines
459 B
Bash
16 lines
459 B
Bash
#!/bin/sh
|
|
# Copyright 2019 khanhas. GPL license.
|
|
# Edited from project Denoland install script (https://github.com/denoland/deno_install)
|
|
|
|
set -e
|
|
|
|
echo "UN-INSTALLING"
|
|
cd "$(dirname "$(spicetify -c)")/Themes/DribbblishDynamic"
|
|
spicetify config current_theme " " extensions dribbblish-dynamic.js-
|
|
|
|
echo "UN-PATCHING"
|
|
if cat config-xpui.ini | grep -o '\[Patch\]'; then
|
|
perl -i -0777 -pe "s/\[Patch\].*?($|(\r*\n){2})//s" config-xpui.ini
|
|
fi
|
|
|
|
spicetify apply
|