Skip to content

Changing the colour of the standard Mint-Y Theme via scripts

Notifications You must be signed in to change notification settings

kunesj/Mint-Y-Colora-Theme

 
 

Repository files navigation

Mint-Y-Colora Theme

The goal is to make a script that makes it easy to change the colours of the Mint-Y (and hopefully soon Mint-X) theme of Linux Mint.

We start from the source files at https://github.com/linuxmint/mint-themes and let loose a few scripts to change the colour accent.

Note: This repository is a fork from https://github.com/erikdubois/Mint-Y-Colora-Theme, which doesn't work with latest Mint and Mint-Y theme.

Just want to download the themes not build them

All created themes can be found at:

https://github.com/kunesj/Mint-Y-Colora-Theme-Collection
https://github.com/erikdubois/Mint-Y-Colora-Theme-Collection (outdated versions)

Follow the steps in the README.

Installation

Script can run on a variety of Linux distro's, but are made for Debian based ones.

If you are on a different kind of distro, you will need to change package manager in 0-install-tools.sh.

1. Get the source

Get the latest version of the Linux Mint themes and Mint-Y-Colora theme, download and extract it from browser or clone repo with:

git clone --branch 1.9.8 https://github.com/kunesj/mint-themes.git
git clone --branch mint-themes-1.9.8 https://github.com/kunesj/Mint-Y-Colora-Theme.git

Copy scripts and file with theme definitions into downloaded mint-themes folder:

cp Mint-Y-Colora-Theme/*.{sh,py,json} mint-themes/

Go inside mint-themes folder and install required tools with:

cd mint-themes/
./0-install-tools.sh

2. Define name and color of new theme(s)

Find yourself a nice colour with gpick or online. It should be a hexadecimal notation but without the hashtag #. Theme name must not have any spaces and will be appended to Mint-Y. example:

Sun     -> Mint-Y-Sun, Mint-Y-Dark-Sun
Sun-Alt -> Mint-Y-Sun-Alt, Mint-Y-Dark-Sun-Alt

Open themes.json and add/replace line(s) with theme definitions. example:

{
    "Smoke": {"light": "A1A1A1", "dark": "A1A1A1"},
    "Majestic": {"light": "5F5F5F", "dark": "5F5F5F"}
}

Last line must NOT have , at the end!

3. Build theme(s)

Build all themes defined in themes.json:

./autobuild-themes.py

Created themes will be put into ~/.themes directory.

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 named the theme Sun. That is just an example.

Uninstall the theme manually

Themes are put into hidden folder ~/.themes in your home directory. Just remove theme folders of any theme you want to uninstall.

If you cant find theme you want to uninstall in this folder, it could be installed in other theme folders on your computer:

/usr/share/themes/
/usr/local/share/themes/
~/.local/share/themes/
~/.themes/

F A Q

Can scripts put created themes somewhere else than ~/.themes?

./autobuild-themes.py TARGET_DIR

What is the default look of Mint-Y theme

Original Mint-Y theme colors are 9ab87c and 8fa876.

About

Changing the colour of the standard Mint-Y Theme via scripts

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 84.6%
  • Python 15.4%