The goal is to make a script that makes it easy to change the colours of the Mint-Y theme of Linux Mint.
sudo apt install -y git ruby-sass sassc optipng inkscape python3
git clone https://github.com/anisbsalah/Mint-Y-Colora-Variations.git
- If you would like to create both variations dark and light:
cd Mint-Y-Colora-Variations/create-all-variations
- If you would like to create only dark variation:
cd Mint-Y-Colora-Variations/create-dark-variation
- If you would like to create only light variation:
cd Mint-Y-Colora-Variations/create-light-variation
Now let us run the scripts.
Use the script to change the colour. Find yourself a nice colour with gpick or online. It should be a hexadecimal notation but without the hashtag or #. Read the script for more info.
./1-change-color.sh
You will be asked to type your personal light and dark colours. Remember it should be without the # symbol.
Old png's will have to be deleted. They are still the original green ones. Read the script for more info.
./2-delete-assets.sh
This is the most important part. New png's will be created with your colour.
./3-make-assets.sh
If all went well, you will find the result in the folder usr/share/themes
. Now run script nb.4.
./4-moving-the-themes.sh
The script will:
- rename the folders
- move the folders to ~/.themes
- change the content of the three index.theme files.
Read the script for more info.
After the installation is complete, you can activate the theme with your theme manager by selecting Mint-Y-Sun
or Mint-Y-Dark-Sun
as Window/GTK+ theme, if you name the theme "Sun". That is just an example.
In the case you would like to try a new color than the one you have already tried, the files of the theme must be resetted. This can also be useful if you are unsure of the state of your theme working directory and want to start to work on a clean directory. Launch the terminal in the Mint-Y-Colora-Variations
directory and simply invoke:
git reset --hard
After that, you should be good to generate a new theme with your personalized color.
The green colour of the Mint-Y theme: 35a854
- The original project is named
Mint-Y-Colora-Theme
located here: https://github.com/erikdubois/Mint-Y-Colora-Theme.