Skip to content

Commit accfca5

Browse files
committed
Large update. See: #143
1 parent 3996dbd commit accfca5

File tree

1,421 files changed

+47978
-53636
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,421 files changed

+47978
-53636
lines changed

.gitattributes

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.gitattributes export-ignore
2-
.gitignore export-ignore
3-
zukitre.png export-ignore
1+
.gitattributes export-ignore
2+
.github export-ignore
43
zukitwo.png export-ignore
4+
zukitre.png export-ignore

.gitignore

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Ignore Backup Copies from Text Editor
22
*~
33

4-
# Ignore SASS files
5-
.sass-cache
6-
gtk.gresource
7-
dist
4+
# Ignore meson build directory
5+
build

CONTRIBUTING.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## Contributing to Zuki-themes
2+
3+
Zuki-themes consists of:
4+
5+
* `gnome-shell` is the theme for GNOME Shell. This themes stuff like the calendar widget, the panel, the dock and more.
6+
* `gtk-2.0` contains the GTK+2 theme, styling applications that doesn't use GTK+3 yet.
7+
* `gtk-3.0` contains the GTK+3 theme, styling most modern GTK+ applications.
8+
* `xfwm4` contains the theme that styles the xfwm4 window manager for XFCE4.
9+
10+
### Build and install themes from source
11+
12+
```bash
13+
# Download the repository from github
14+
git clone https://github.com/lassekongo83/zuki-themes.git
15+
cd zuki-themes
16+
# Initialize build system (only required once per repo)
17+
meson build
18+
# Build and install
19+
sudo ninja -C build install
20+
```
21+
22+
### More granular changes
23+
24+
Now everything should be in place. Select a GTK theme via:
25+
```bash
26+
gsettings set org.gnome.desktop.interface gtk-theme Zukitre
27+
```
28+
29+
The available themes will be installed in `/usr/share/themes`. You can edit the `gtk.css` and `gnome-shell.css` files in those folders directly for testing, or you can edit the SCSS files inside the folder you cloned from GitHub.
30+
31+
SCSS is the actual "source code" of the theme. This is compiled into the CSS files. Edit the SCSS if you want to contribute your changes back here. SCSS is simple enough to get the hang of if you already know CSS. You can go through [this SCSS tutorial](http://marksheet.io/sass-scss-less.html) to learn more. After making your edits in the SCSS files, you can run `sudo ninja install` in the `zuki-themes/build` folder. That’ll do all the compiling and installing.
32+
33+
Changes to the GNOME Shell theme are visible after doing <kbd>Alt</kbd> + <kbd>F2</kbd> and running `rt` as command. The changes to the GTK theme will be visible after running the following commands.
34+
35+
```bash
36+
# To reload GTK theme
37+
# Change to Adwaita theme and back to Zukitre
38+
gsettings set org.gnome.desktop.interface gtk-theme Adwaita
39+
gsettings set org.gnome.desktop.interface gtk-theme Zukitre
40+
```
41+
42+
The files named `assets.svg` and `assets.txt` contains some images used in the themes.
43+
If you change anything in `assets.svg` you'll have to make sure that the Object ID in inkscape is kept intact. Any new Object ID created must be added to `assets.txt`. Then run `render-assets.sh` to generate the new images. Changed images will have to be removed before running `render-assets.sh`.

LICENSE

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU GENERAL PUBLIC LICENSE
22
Version 3, 29 June 2007
33

4-
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
55
Everyone is permitted to copy and distribute verbatim copies
66
of this license document, but changing it is not allowed.
77

@@ -631,8 +631,8 @@ to attach them to the start of each source file to most effectively
631631
state the exclusion of warranty; and each file should have at least
632632
the "copyright" line and a pointer to where the full notice is found.
633633

634-
{one line to give the program's name and a brief idea of what it does.}
635-
Copyright (C) {year} {name of author}
634+
<one line to give the program's name and a brief idea of what it does.>
635+
Copyright (C) <year> <name of author>
636636

637637
This program is free software: you can redistribute it and/or modify
638638
it under the terms of the GNU General Public License as published by
@@ -645,14 +645,14 @@ the "copyright" line and a pointer to where the full notice is found.
645645
GNU General Public License for more details.
646646

647647
You should have received a copy of the GNU General Public License
648-
along with this program. If not, see <http://www.gnu.org/licenses/>.
648+
along with this program. If not, see <https://www.gnu.org/licenses/>.
649649

650650
Also add information on how to contact you by electronic and paper mail.
651651

652652
If the program does terminal interaction, make it output a short
653653
notice like this when it starts in an interactive mode:
654654

655-
{project} Copyright (C) {year} {fullname}
655+
<program> Copyright (C) <year> <name of author>
656656
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657657
This is free software, and you are welcome to redistribute it
658658
under certain conditions; type `show c' for details.
@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
664664
You should also get your employer (if you work as a programmer) or school,
665665
if any, to sign a "copyright disclaimer" for the program, if necessary.
666666
For more information on this, and how to apply and follow the GNU GPL, see
667-
<http://www.gnu.org/licenses/>.
667+
<https://www.gnu.org/licenses/>.
668668

669669
The GNU General Public License does not permit incorporating your program
670670
into proprietary programs. If your program is a subroutine library, you
671671
may consider it more useful to permit linking proprietary applications with
672672
the library. If this is what you want to do, use the GNU Lesser General
673673
Public License instead of this License. But first, please read
674-
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
674+
<https://www.gnu.org/licenses/why-not-lgpl.html>.

README.md

+40-54
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,58 @@
1-
# Zuki Themes
1+
# zuki-themes
2+
Themes for GNOME and XFCE4.
23

3-
Zuki themes for GNOME, Xfce and more.
4+
![Zukitre](zukitre.png?raw=true)
5+
<sub>[Wallpapers](https://imgur.com/a/zrijHvk) | [Icons](https://github.com/vinceliuice/Tela-icon-theme) | Fonts: Roboto / SF Mono | GNOME shell extension: Dash to Panel</sub>
46

5-
##### Zukitre
7+
![Zukitwo](zukitwo.png?raw=true)
8+
<sub>[Wallpapers](https://imgur.com/a/zrijHvk) | [Icons](https://github.com/vinceliuice/Tela-icon-theme) | Fonts: Roboto / SF Mono | GNOME shell extension: Dash to Panel</sub>
69

7-
![Zukitre theme](zukitre.png?raw=true)
10+
### Requirements
811

9-
##### Zukitwo
12+
- GNOME Shell 3.30+
13+
- GTK 3.24.6+
1014

11-
![Zukitwo theme](zukitwo.png?raw=true)
15+
<sub>The themes should work on some older versions. I just can't guarantee that the themes will look as intended on older versions.</sub>
1216

13-
<sub>Screenshot Details: [Wallpaper](http://mustberesult.deviantart.com/art/Almora-212657321) | [Icons](https://github.com/numixproject/numix-icon-theme-circle) | GNOME shell extensions: Dash to dock, Hide top bar. | Clock: [tint2](https://gist.github.com/lassekongo83/d9c432457599c4633280423c6a77c7be)</sub>
17+
Some of these packages may already be installed by default on some distros.
1418

15-
## Requirements
19+
* Debian/Ubuntu/Mint - `apt install gtk2-engines-murrine gtk2-engines-pixbuf fonts-roboto ninja-build git meson sassc`
20+
* Arch/Manjaro/Antergos - `pacman -S gtk-engine-murrine gtk-engines ttf-roboto ninja git meson sassc`
21+
* Opensuse - `zypper in gtk2-engine-murrine gtk2-engines google-roboto-fonts ninja git meson sassc`
22+
* Fedora - `dnf install gtk-murrine-engine gtk2-engines google-roboto-fonts ninja-build git meson sassc`
1623

17-
The master branch should work with GTK 3.22+.
18-
19-
* GNOME/GTK 3.18 - 3.22+
20-
* The murrine engine. This has different names depending on your distro.
21-
* `gtk2-engines-murrine` (Debian, Ubuntu)
22-
* `gtk-murrine-engine` (Fedora)
23-
* `gtk-engine-murrine` (ArchLinux)
24-
* The pixbuf engine. This has different names depending on your distro.
25-
* `gtk2-engines-pixbuf` (Debian, Ubuntu)
26-
* `gtk2-engines` (Fedora)
27-
* `gtk-engines` (ArchLinux)
28-
29-
##### Optional recommended requirements
30-
* Roboto fonts (For the GNOME shell theme.)
31-
* `fonts-roboto` (Debian, Ubuntu)
32-
* `google-roboto-fonts` (Fedora)
33-
* `ttf-roboto` (ArchLinux AUR)
24+
Other distros may have named the above packages differently.
3425

3526
## Installation
3627

37-
#### Manual installation
38-
39-
Download the theme:
40-
* [GTK 3.22 or later](https://github.com/lassekongo83/zuki-themes/archive/master.zip) (Master branch.)
41-
* [GTK 3.18](https://github.com/lassekongo83/zuki-themes/archive/3.18.zip) (Download this if you use X/Ubuntu 16.04.)
42-
43-
Extract the contents in the zip to `~/.themes` or `/usr/share/themes` with the following folder structure:
44-
45-
`Zukitre`
46-
47-
* `gtk-3.0`
48-
* `gtk-2.0`
49-
* `xfwm4`
50-
51-
`Zuki-shell`
52-
53-
* `gnome-shell`
54-
55-
etc.
28+
When the above requirements are installed, simply run these commands:
29+
```bash
30+
git clone https://github.com/lassekongo83/zuki-themes.git
31+
cd zuki-themes
32+
meson build
33+
sudo ninja -C build install
34+
```
35+
The themes will be installed in: `/usr/share/themes`
5636

57-
Apply the theme in `gnome-tweaks` or `dconf-editor`. Xfce users can apply it in `Settings > Appearance` and `Settings > Window manager`. If you wish to use the GNOME shell theme make sure the `User themes` extension is activated in `gnome-tweaks`.
37+
### Updating the theme
5838

59-
#### Other installation options
39+
Navigate to the `zuki-themes` folder that was originally cloned. (If you removed it, do the steps above instead).
6040

61-
ArchLinux users can get it on AUR: https://aur.archlinux.org/packages/zuki-themes-git/ (Not maintained by me!)
41+
Then simply run:
42+
```bash
43+
git pull
44+
sudo ninja -C build install
45+
```
6246

63-
## Troubleshooting & Bug reporting
47+
#### Changing themes
6448

65-
**The issue tracker is for provable issues only:** You will have to make the case that the issue is really with the theme and not something else on your side. To make a case means to provide detailed steps so that anybody can reproduce the issue. Be sure to rule out that the issue is not caused by something specific on your side.
49+
Use `gnome-tweaks` to change themes.
6650

67-
**Required information:**
68-
> 1. Your GTK+ version/theme version/Linux distribution.
69-
> 1. Does the same issue occur with other themes?
70-
> 1. Screenshot. (Use a host that don't require me to enable JavaScript, cookies or browser plugins to be able to view the image.)
51+
You can also change your GTK themes using a terminal.
52+
```bash
53+
# Changing the theme to Zukitre-dark, simply run
54+
gsettings set org.gnome.desktop.interface gtk-theme Zukitre-dark
7155

72-
**Do not submit support questions to the issue tracker.** Contact me on [reddit](https://www.reddit.com/user/Frellwit/) or [deviantART](http://lassekongo83.deviantart.com) for that instead. (Don't always expect an answer though.) Public forums and subreddits could provide better support. Support questions in the issue tracker will be closed as invalid.
56+
# Reverting the change to the default GNOME theme
57+
gsettings set org.gnome.desktop.interface gtk-theme Adwaita
58+
```

0 commit comments

Comments
 (0)