Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/phocus/gtk
- Owner: phocus
- License: mit
- Created: 2019-01-29T08:38:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T07:43:14.000Z (7 months ago)
- Last Synced: 2024-08-02T17:36:24.478Z (5 months ago)
- Topics: gtk3, gtk3-theme, phocus, theme
- Language: SCSS
- Homepage: https://phocus.github.io
- Size: 194 KB
- Stars: 129
- Watchers: 3
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - phocus/gtk - From scratch, clean and opinionated GTK3 implementation of the phocus color scheme. (SCSS)
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
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.