pop-os / gtk-theme

System76 Pop GTK+ Theme
GNU General Public License v3.0
787 stars 83 forks source link


A GTK+ theme for Pop!_OS

Required Components


Pop supports Gtk+ 3.22.x

 * Gtk+-3.0             >= 3.22
 * Gtk+-2.0             >= 2.24.30
 * gtk2-engines-pixbuf  >= 2.24.30
 * gtk2-engines-murrine >= 0.98.1

Recommendations

Installation

Pop is intended to be installed through the package manager. Packages for Pop are available in PPA:

sudo add-apt-repository ppa:system76/pop
sudo apt update
sudo apt install pop-theme

It's recommended to use the pop-theme metapackage, as this will pull in all components of the look. However, individual components can be installed separately, e.g:

sudo apt install pop-gtk-theme

It's also recommended to restart the GNOME Shell after applying the theme of your choice.

Enter the Shell's command launcher

Alt + F2

This will restart the Shell after you hit Enter

r

Installation from Git Source


This is the recommended method for users who aren't on Pop.

Note: You must have sassc installed in order to build Pop. Users of 17.04 or later can all build-dependencies using:
sudo apt install sassc meson libglib2.0-dev 

For making modifications to assets, you will additionally need these two:

sudo apt install inkscape optipng
  1. If previous versions were installed/existed, remove them first.

    sudo apt remove pop-gtk-theme
    sudo rm -rf /usr/share/themes/Pop*
    rm -rf ~/.local/share/themes/Pop*
    rm -rf ~/.themes/Pop*
  2. Clone the repository.

git clone https://github.com/pop-os/gtk-theme.git
cd gtk-theme
  1. Generate the theme files.
meson build && cd build
ninja
  1. Install the theme.
ninja install

Rebuilding after modifications:

You shouldn't need to rebuild the entire theme after modifications. If you make changes to any GTK3 or GTK2 assets, delete the old rendered copies and use the render-assets.sh script to regenerate those with new ones with your modifications.

TODO

Public License

Most files: GPL-3.0+ Upstream Adwaita: LGPLv2.1 Sound theme: CC-BY-SA-4.0

Note:

SVG files are licensed under CC BY-SA 4.0

Special Thanks to

Nana-4, the developer of Materia. tista500 and the Adapta Theme Project: https://github.com/adapta-project/