/gtk

Primary LanguageCSSMIT LicenseMIT

Phocus GTK3 Theme

This GTK3 theme is part of the Phocus theme collection.

Installation

Nix

gtk = {
  enable = true;
  theme = let
      phocus = pkgs.stdenv.mkDerivation {
        name = "phocus";
        src = builtins.fetchTarball https://github.com/elkowar/gtk/archive/master.tar.gz;
        nativeBuildInputs = [ pkgs.sass ];
        installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
      };
    in {
    package = phocus;
    name = "phocus";
  };
};

Arch

$ yay -S phocus-gtk-theme-git

From source

Make sure to install the following dependency:

  • npm

Clone the phocus/gtk repository:

$ git clone https://github.com/phocus/gtk.git phocus-gtk

And finally install using make:

$ cd phocus-gtk
$ make
$ sudo make install

Development

To make development as easy as possible, clone the repository into your users themes directory and install the node dependencies:

$ git clone https://github.com/phocus/gtk.git ~/themes/phocus
$ npm install

Build

To build the theme, run:

$ cd ~/themes/phocus
$ npm run build

Build with file-watcher

To start a file-watcher that builds automatically every time you update a file:

$ cd ~/themes/phocus
$ npm run watch