Coder Social home page Coder Social logo

mint-y-colora-variations's Introduction

Mint-Y-Colora Variations

The goal is to make a script that makes it easy to change the colours of the Mint-Y theme of Linux Mint.

Installation

0. Get the source:

First, install dependencies with:

sudo apt install -y git ruby-sass sassc optipng inkscape python3

Clone the Mint-Y-Colora-Variations repository:

git clone https://github.com/anisbsalah/Mint-Y-Colora-Variations.git

Change directory:

  • 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.

1. Change the colours:

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.

2. Delete old assets or png's:

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

3. Make new assets or png's:

This is the most important part. New png's will be created with your colour.

./3-make-assets.sh

4. Renaming the new generated theme:

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.

Resetting the themes files

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 inital look of Mint-Y theme

The green colour of the Mint-Y theme: 35a854

Credits

mint-y-colora-variations's People

Contributors

anisbsalah avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.