Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

lime-desu/MochaTheme

 
 

Repository files navigation

MochaTheme - MonoTheme GTK fork

Note MochaTheme only includes Gnome Shell Theme, using Catppuccin (Lavender) colorscheme

Preview:

MochaTheme Screenshot-Style4 Screenshot-Style4

Installation:

First, download or get files from the source:

git clone --depth=1 https://github.com/lime-desu/MochaTheme.git ~/.local/share/themes/MochaTheme

Assuming the MochaTheme repo is stored on ~/.local/share/themes/

~/.local/share/themes/ or ~/.themes whichever you prefer

Then create a symbolic link and store it on the proper directory:

cd ~/.local/share/themes/MochaTheme && ln -sv $(pwd)/Mo* ../. # symlink all directories that begins with `Mo`

Applying the theme:

Warning User Themes Extension is required.

Using gsettings

  • Command = gsettings set org.gnome.shell.extensions.user-theme name '<value>'
  • Value = MochaTheme-<number>, MonoTheme, and MonoThemeDark
gsettings set org.gnome.shell.extensions.user-theme name 'MochaTheme-4' # example using style4

Note You can use this command for addding keybinding for changing style quickly, or even create a desktop application out of it.

Using GNOME Tweaks

  1. Install and open GNOME Tweaks
  2. Click on the Appearance tab
  3. Under "Shell", choose the desired style.

Updating:

Since I suck at CSS, Expect some bugs that may need to update and to be fixed.

git -C ~/.local/share/themes/MochaTheme pull --rebase

Uninstalling:

Simply reverse the installation process

rm -r ~/.local/share/themes/{Mocha*,Mono}Theme* # delete the repo and it's symlink

Note For MonoTheme and GTK app see below instructions

MonoTheme 👇

Mono Theme for Gnome

Simple theme with nothing extra to use on a regular basis. Theme tested on Manjaro and Fedora.
The theme is still developing and it would be nice if you reported all the bugs in issues.

Support

Mono Project Preview

Mono Theme for Gnome

Gtk4 apps

apps

Gtk3 apps

apps

Flatpak apps

flatpak

Gnome 43 apps

apps

Gnome-shell

apps

Wallpapers

Light

apps

Dark

apps

Download

Download theme here.

Installing

GTK3 and Gnome-shell

Move theme folders to ~/.themes

GTK4

To install the Gtk4 theme move the contents of gtk4.0 to ~/.config/gtk4.0

Flatpak

To install themes on Flatpak apps use these commands:

sudo flatpak override --filesystem=$HOME/.themes
sudo flatpak override --env=GTK_THEME=MonoTheme

or

sudo flatpak override --env=GTK_THEME=MonoThemeDark

GDM (optional)

IMPORTANT❗️ Take a snapshot of the system before use!
If you want the gnome-shell theme to extend to the lock and login screen, move the gnome-shell-theme.gresource file from gnome-shell folder to /usr/share/gnome-shell/ with a replacement and restart system with ALT+F2 and enter r for Xorg or reboot/log out for Wayland session.
Command:

sudo cp gnome-shell-theme.gresource /usr/share/gnome-shell

I recommend saving the gresource file from the folder to a safe place beforehand, if will need to be returned. Go to /usr/share/gnome-shell and open terminal.
Example:

sudo cp gnome-shell-theme.gresource ~/Documents

Firefox

Install Firefox Theme

Firefox

apps

Icons

This is a mix of Adwaita symbolic icons and new icons that we made together with my friend. Icons match and don't get out from the style of Adwaita icons.
Install Icon Theme

Icons

apps

Using

To change the light or dark theme of Gtk3 apps and Gnome-shell use Gnome Tweaks or Night Theme Switcher (choose the MonoTheme for day and MonoThemeDark for night variant in the Themes tab and change the theme color by switching style in Settings > Appearance).
The dark and light appearance of Gtk4 is changed by renaming the desired file to gtk.css in .config/gtk4.0 or you can try the script I made for automatic theme switcher in gtk4 and gtk3/4 flatpak apps. Go to Night Theme Switcher and select Commands tab and paste this script.
Sunrise:

flatpak override --env=GTK_THEME=MonoTheme --user & cd ~/.config/gtk-4.0 ; mv gtk.css gtk2.css ; mv gtk-dark.css gtk.css ; mv gtk2.css gtk-dark.css

Sunset:

flatpak override --env=GTK_THEME=MonoThemeDark --user & cd ~/.config/gtk-4.0 ; mv gtk.css gtk2.css ; mv gtk-dark.css gtk.css ; mv gtk2.css gtk-dark.css

Thanks to this script, you can change the theme of apps by switching dark and light theme in the settings, but gtk4 and gtk4 flatpak apps will be updated only when the app window is reopened. If ALL the steps are completed correctly, then the theme color will change for ALL applications in the system, write your questions in issues.

Uninstalling

To remove a theme, follow all the steps above in reverse order

Releases

No releases published

Packages

No packages published

Languages

  • CSS 100.0%