Git Product home page Git Product logo

catppuccin-gtk-rpm's Introduction

Catppuccin GTK RPM

RPM build of the great theme produced by https://github.com/catppuccin/gtk.

Installing the RPM puts the theme in /usr/share/themes/. Available RPMs can be found in in Releases:

  • catppuccin-gtk (All the flavors and colors!)
  • catppuccin-gtk-Frappe
  • catppuccin-gtk-Frappe-<specific color>
  • catppuccin-gtk-Mocha
  • catppuccin-gtk-Mocha-<specific color>
  • catppuccin-gtk-Macchiato
  • catppuccin-gtk-Macchiato-<specific color>
  • catppuccin-gtk-Latte
  • catppuccin-gtk-Latte-<specific color>

Build

To build the RPMs yourself, you need a Linux distro that uses RPMs.

Run configure.sh to install prerequisite build tools.

Then issue the build command:

make rpm

Usage

After installing an RPM, start using the theme. This has only been tested on GNOME 41 so YMMV:

  1. Install the tools that allow you to customize the theme:

     yum install gnome-tweaks gnome-extensions-app gnome-shell-extension-user-theme
    
  2. Log out/back in. TBD why this is needed, but it updates the GNOME Extensions app to see the user-theme extension just installed.

  3. Open GNOME Extensions app and toggle the button to allow User Themes.

  4. Open GNOME Tweaks app and under the Appearance tab, update the Applications Theme and Shell Theme to the one you just installed.

  5. Enjoy Catppuccin GTK :)

  6. Bonus: Apply the theme to GDM too. The following steps are in install-gdm-theme.sh too.

  • Backup current theme file
        sudo cp -av /usr/share/gnome-shell/gnome-shell-theme.gresource{,~}
  • Compile new theme:
    THEME_NAME="$(gsettings get org.gnome.desktop.interface gtk-theme | sed "s/'//g")"
    THEME_SRC_DIR="/usr/share/themes/$THEME_NAME/gnome-shell"
    sudo glib-compile-resources --target="/usr/share/gnome-shell/gnome-shell-theme.gresource" --sourcedir="$THEME_SRC_DIR" "$THEME_SRC_DIR/gnome-shell-theme.gresource.xml"
  • Log out/in
  1. More bonus: Change the GDM logo
  • Get an icon file that's 256x256 or smaller. Put it in /usr/share/pixmaps/. You can use cat.png from this project.

  • Create new file for the gdm user's dconf settings. Make sure it has this content:

    # /etc/dconf/profile/gdm
    user-db:user
    system-db:gdm
    file-db:/usr/share/gdm/greeter-dconf-defaults
    
  • Define the keyfile to set the logo:

    # /etc/dconf/db/gdm.d/02-logo
    [org/gnome/login-screen]
    logo='/usr/share/pixmaps/cat.png'
    
  • Update the dconf database

    sudo dconf update
    
  • Log out/in

catppuccin-gtk-rpm's People

Contributors

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