Skip to content

Latest commit

 

History

History
164 lines (123 loc) · 3.94 KB

install.md

File metadata and controls

164 lines (123 loc) · 3.94 KB

Build and install themes from source

This will install:

  • GTK2 themes
  • GTK3 themes
  • gnome-Shell theme
  • Ubuntu-dock theme (indicators)
  • Yaru-remix icons

To try out the theme, follow the instructions:

packages needed to build yaru-remix

sudo apt install libgtk-3-dev sassc git meson 

packages for theme modification (Optional):

# Additionally installs packages needed to work on the gtk,icon theme
sudo apt install sassc inkscape optipng ruby

install:

# clone this repository
git clone https://github.com/Muqtxdir/yaru-remix.git
cd yaru-remix
# Initialize build system (only required once per repo)
meson build

cd build

# Build and install
sudo ninja install

install for snap apps:

# Yaru-remix-themes
sudo snap install yaru-remix-themes
# Apply Yaru-remix GTK2 for GTK2-snaps (need to be done everytime you install a new GTK2-snap app)

for i in $(snap connections | grep gtk-common-themes:gtk-2-themes | awk '{print $2}'); do sudo snap connect $i yaru-colors:gtk-2-themes; done
# Apply Yaru-remix GTK3 for GTK3-snaps (need to be done everytime you install a new GTK3-snap app)
for i in $(snap connections | grep gtk-common-themes:gtk-3-themes | awk '{print $2}'); do sudo snap connect $i yaru-remix-themes:gtk-3-themes; done
# Add Yaru-remix icons for snaps (need to be done everytime you install a new snap app)
for i in $(snap connections | grep gtk-common-themes:icon-themes | awk '{print $2}'); do sudo snap connect $i yaru-remix-themes:icon-themes; done

install for flatpak apps:

# Yaru-remix
flatpak install flathub org.gtk.Gtk3theme.Yaru-remix
# Yaru-remix-dark
flatpak install flathub org.gtk.Gtk3theme.Yaru-remix-dark
# Yaru-remix-light
flatpak install flathub org.gtk.Gtk3theme.Yaru-remix-light

Apply Theme and Icons:

Apply Ubuntu-dock indicator color:

  • To apply Yaru-remix color on Ubuntu-dock, open terminal and do:
gsettings set org.gnome.shell.extensions.dash-to-dock custom-theme-running-dots-color '#315bef' 2> /dev/null
 gsettings set org.gnome.shell.extensions.dash-to-dock custom-theme-running-dots-border-color '#315bef' 2> /dev/null

Applying Theme and Icons manually:

The theme can now be selected, either using the Gnome Tweaks GUI or by using the following commands:

# set the gtk-theme as Yaru-remix (or) Yaru-remix-light (or) Yaru-remix-dark
gsettings set org.gnome.desktop.interface gtk-theme "Yaru-remix"
# set the icon theme as Yaru-remix (or) Yaru-remix-light (or) Yaru-remix-dark
gsettings set org.gnome.desktop.interface icon-theme "Yaru-remix"

Uninstall:

  • To uninstall all Yaru-remix, simply run the following (Although some files won't be deleted succesfully)
cd yaru-remix

cd build

sudo ninja uninstall
  • The remaining can be removed by doing this:
# deletes all GTK3-theme-folders named Yaru-remix, Yaru-remix-light, Yaru-remix-dark
sudo rm -R /usr/share/themes/Yaru-remix*

# deletes icon-folder named Yaru-remix, Yaru-remix-light, Yaru-remix-dark
sudo rm -R /usr/share/icons/Yaru-remix*

uninstall for snap apps:

# Yaru-remix-themes
sudo snap uninstall yaru-remix-themes

uninstall for flatpak apps:

# Yaru-remix
flatpak remove flathub org.gtk.Gtk3theme.Yaru-remix
# Yaru-remix-dark
flatpak remove flathub org.gtk.Gtk3theme.Yaru-remix-dark
# Yaru-remix-light
flatpak remove flathub org.gtk.Gtk3theme.Yaru-remix-light
  • Once uninstalled you can reset your GTK and icon theme to the default setting by running the following.
# reset gtk theme to default
gsettings reset org.gnome.desktop.interface gtk-theme
# reset icon theme to default
gsettings reset org.gnome.desktop.interface icon-theme