This GTK3 theme is part of the Phocus theme collection.
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";
};
};
$ yay -S phocus-gtk-theme-git
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
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
To build the theme, run:
$ cd ~/themes/phocus
$ npm run build
To start a file-watcher that builds automatically every time you update a file:
$ cd ~/themes/phocus
$ npm run watch