Git Product home page Git Product logo

base16-gtk-flatcolor's Introduction

base16-gtk-flatcolor

This is a Base16 template for FlatColor, a gtk3 theme by jasperro and deviantfero,

Usage

First download FlatColor theme from jasperro's repo to your .themes folder: git clone https://github.com/jasperro/FlatColor ~/.themes/FlatColor

Before anything, you need to make a few changes in FlatColor so the base16 builder of your choice can inject to it.

Open ~/.themes/FlatColor/gtk-2.0/gtkrc with your favorite text editor.

Delete gtk-color-scheme and everything inside quotes following it, and replace with:

include "../colors2"

Now open .~/.themes/FlatColor/gtk-3.0/gtk.css.

Delete all in lines in section /* Default color scheme */, and replace with:

@import url("../colors3");

Do the same with ~/.themes/FlatColor/gtk-3.20/gtk.css.

Now using your injector (if you don't have one, check out flavours), and configure it so the template will be built to both ~/.themes/FlatColor/colors3 and ~/.themes/FlatColors/colors2, using the subtemplates gtk-2 and gtk-3, respectively.

Tip: Most gtk apps only update when restarted, but you can use gsettings or xsettingsd to change to some theme, and back to FlatColor so all applications re-theme without restart (Thanks jasperro for the workaround). (If you use flavours, you can set that as an hook).

First of all, create a dummy theme as a symlink to FlatColor (so your theme doesn't flash when changing):

ln -Ts ~/.themes/FlatColor ~/.themes/dummy

Now here's the two ways to reload your theme:

After installing it, edit your ~/.xsettings so it has the theme set:

Net/ThemeName "dummy"

Now just running xsettings should reload the theme! You can background the process, or make a systemd service to reload it more easily (check out my dotfiles if you want an example).

Gsettings (requires gnome packages)

Use this command to reload:

gsettings set org.gnome.desktop.interface gtk-theme dummy && gsettings set org.gnome.desktop.interface gtk-theme FlatColor

If nothing happens, make sure /usr/lib/gsd-xsettings is running. You do need some gnome packages installed, though.

base16-gtk-flatcolor's People

Contributors

gingkapls avatar jamygolden avatar misterio77 avatar tinted-theming-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

base16-gtk-flatcolor's Issues

Readme Instructions unclear

Forgive me, I am a newbie when it comes to using flavours. You state:

Now using your injector (if you don't have one, check out flavours), and configure it so the template will be built to both ~/.themes/FlatColor/colors3 and ~/.themes/FlatColors/colors2, using the subtemplates gtk-2 and gtk-3, respectively.

If I go to the flavours site, there is no gtk template and it isn't clear what is supposed to happen here. Could you perhaps be more instructive, or point me to an example?

GTK4 theme

Is GTK4 theme coming? If not is there any way I can contribute?

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.