Skip to content
forked from phocus/gtk

My phork of phocus-gtk.

License

Notifications You must be signed in to change notification settings

dharmx/phocus-phork

 
 

Repository files navigation

Phocus GTK3 Theme

This GTK3 theme is part of the Phocus theme collection.

About GTK4

Libadwaita applications can't be themed through a GTK4 theme. The amount of non-libadwaita GTK4 apps is so little, that it is not worth adding a phocus GTK4 theme.

You can manually overwrite the libadwaita colors to somewhat get a phocus feeling. Feel free to copy this example from my dotfiles ~/.config/gtk-4.0/gtk.css. This won't get you the phocus look you are used to, but it is the best we can do.

May proper GTK4 theming rest in piece 🪦

Installation From source

Make sure to install the following dependency:

Clone the phocus/gtk repository and build/install it using make:

git clone https://github.com/phocus/gtk.git phocus-gtk
cd phocus-gtk
make
sudo make install

Installation on Arch

Install the AUR package phocus-gtk-theme-git with your favourite AUR helper (or by hand, won't judge).

paru -S phocus-gtk-theme-git

Development

To make development as easy as possible, clone the repository and symlink it into your users ~/.themes directory:

git clone https://github.com/phocus/gtk.git ~/code/phocus
ln -s ~/code/phocus ~/.themes/phocus

Install its npm dependencies:

cd ~/.themes/phocus
npm install

Build

Build the theme by running its build script:

npm run build

Watch

Start a watcher that automatically builds when you modify a file:

cd ~/themes/phocus
npm run watch

Reload GTK Theme

Make all open GTK applications reload the phocus theme by running:

npm run reload_gtk_theme

This requires you to have xsettingsd installed.

Watch and reload - ultimate comfort

Automatically build on modifications, and make all open GTK applications reload the phocus theme:

npm run watch_and_reload

Enjoy this quick demo of the ultimate comfort workflow: ultimate comfort demo

Desktop Makers

type=discord

I am actively working on phocus and other cool projects on the Desktop Makers Discord. It aims to be a community for communities of Linux desktop related projects. If you are looking to collaborate with or want to contribute to great projects, this might be the right place for you.

Languages

  • SCSS 98.9%
  • Makefile 1.1%