Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phocus/gtk

From scratch, clean and opinionated GTK3 implementation of the phocus color scheme.
https://github.com/phocus/gtk

gtk3 gtk3-theme phocus theme

Last synced: 2 months ago
JSON representation

From scratch, clean and opinionated GTK3 implementation of the phocus color scheme.

Awesome Lists containing this project

README

        

# Phocus GTK3 Theme
This GTK3 theme is part of the [Phocus](https://github.com/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](https://github.com/phisch/dotfiles/blob/master/.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:

- [npm](https://www.npmjs.com/)

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

```bash
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](https://aur.archlinux.org/packages/phocus-gtk-theme-git/) with your favourite AUR helper (or by hand, won't judge).
```bash
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:
```bash
git clone https://github.com/phocus/gtk.git ~/code/phocus
ln -s ~/code/phocus ~/.themes/phocus
```

Install its npm dependencies:
```bash
cd ~/.themes/phocus
npm install
```

### Build
Build the theme by running its build script:
```bash
npm run build
```

### Watch
Start a watcher that automatically builds when you modify a file:
```bash
cd ~/themes/phocus
npm run watch
```

### Reload GTK Theme
Make all open GTK applications reload the phocus theme by running:
```bash
npm run reload_gtk_theme
```

This requires you to have [xsettingsd](https://github.com/derat/xsettingsd) installed.

### Watch and reload - *ultimate comfort*
Automatically build on modifications, and make all open GTK applications reload the phocus theme:
```bash
npm run watch_and_reload
```

Enjoy this quick demo of the ultimate comfort workflow:
![ultimate comfort demo](https://i.imgur.com/UjUpmG1.gif)

## Desktop Makers

type=discord

I am actively working on phocus and other cool projects on the [Desktop Makers Discord](https://discord.gg/RqKTeA4uxW). 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.