Skip to content

Commit

Permalink
Merge pull request #40 from Cequallium/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcastic authored Apr 7, 2023
2 parents f030cbc + f6ade9a commit 1b3e384
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ if [[ $WINDECSTYLE == "1" ]]; then
elif [[ $WINDECSTYLE == "2" ]]; then
WINDECSTYLENAME=Classic
WINDECSTYLECODE=__aurorae__svg__Catppuccin"$FLAVOURNAME"-Classic
else
echo "Not a valid Window decoration"
fi

function ModifyLightlyPlasma {
Expand Down Expand Up @@ -351,7 +353,7 @@ function InstallGlobalTheme {
# Prepare Global Theme Folder
cp -r ./Resources/LookAndFeel/Catppuccin-"$FLAVOURNAME"-Global ./dist/"$GLOBALTHEMENAME"
mkdir -p ./dist/"$GLOBALTHEMENAME"/contents/splash/images

# Hydrate Metadata with Pallet + Accent Info
sed -e s/--accentName/"$ACCENTNAME"/g -e s/--flavour/"$FLAVOURNAME"/g ./Resources/LookAndFeel/metadata.desktop > ./dist/Catppuccin-"$FLAVOURNAME"-"$ACCENTNAME/metada"ta.desktop

Expand All @@ -365,7 +367,7 @@ function InstallGlobalTheme {
# Install Global Theme.
# This refers to the QDBusConnection: error: could not send signal to service error
# Which has had no effect in our testing on the working of this Installer.

echo "
WARNING: There might be some errors that might not affect the installer at all during this step, Please advise.
"
Expand Down Expand Up @@ -411,11 +413,11 @@ function InstallColorscheme {
}

function GetCursor {
# Fetches cursors
# Fetches cursors
echo "Downloading Catppuccin Cursors from Catppuccin/cursors..."
sleep 1.5
wget -P ./dist https://github.com/catppuccin/cursors/releases/download/v0.2.0/Catppuccin-"$FLAVOURNAME"-"$ACCENTNAME"-Cursors.zip
wget -P ./dist https://github.com/catppuccin/cursors/releases/download/v0.2.0/Catppuccin-"$FLAVOURNAME"-Dark-Cursors.zip
wget -P ./dist https://github.com/catppuccin/cursors/releases/download/v0.2.0/Catppuccin-"$FLAVOURNAME"-Dark-Cursors.zip
cd ./dist && unzip Catppuccin-"$FLAVOURNAME"-"$ACCENTNAME"-Cursors.zip
unzip Catppuccin-"$FLAVOURNAME"-Dark-Cursors.zip
cd ..
Expand Down Expand Up @@ -480,6 +482,10 @@ if [[ $CONFIRMATION == "Y" ]] || [[ $CONFIRMATION == "y" ]]; then
lookandfeeltool -a "$GLOBALTHEMENAME"
clear
echo "The cursors will fully apply once you log out"

# Some legacy apps still look in ~/.icons
echo "You may want to run the following in your terminal if you notice any inconsistencies for the cursor theme"
echo "ln -s ~/.local/share/icons/ ~/.icons"
else
echo "You can apply theme at any time using system settings"
sleep 0.5
Expand Down

0 comments on commit 1b3e384

Please sign in to comment.