# NOTICE: This is a static copy for my personal nix install.
Neuwaita
A different take on the Adwaita theme.


## Installation
### User installation
Clone the repository into `~/.local/share/icons/Neuwaita`:
```
git clone --depth 1 https://github.com/RusticBard/Neuwaita.git ~/.local/share/icons/Neuwaita
```
### System-wide installation
Clone the repository into `/usr/share/icons`
```
sudo git clone --depth 1 https://github.com/RusticBard/Neuwaita.git /usr/share/icons/Neuwaita
```
## Updating
To update Neuwaita icon theme to the latest version:
```sh
# user installation
git -C ~/.local/share/icons/Neuwaita pull
# system-wide installation
sudo git -C /usr/share/icons/Neuwaita pull
```
## Customize folder colors
Run change-color.sh to change the folder's colors, See [Palette.txt](https://github.com/RusticBard/Neuwaita/blob/main/Palette.txt) for available colors.
```sh
# Change the folders to blue
./change-color.sh blue
# Reset the color to grey
./change-color.sh reset
```
## Setup automatically changing folder color when accent color is changed (requires systemd on gnome? for now)
create a
```sh
mkdir -p ~/.config/systemd/user
nano ~/.config/systemd/user/watchAccent.service
```
paste the following content inside the `watchAccent.service` file
don't forget to change ``
```desktop
[Unit]
Description=Neuwaita Accent Color Watcher
After=graphical-session.target
[Service]
ExecStart=/home//.local/share/icons/Neuwaita/watch-accent.sh
Restart=always
RestartSec=3
Environment=DISPLAY=:0
Environment=XDG_CURRENT_DESKTOP=GNOME
[Install]
WantedBy=default.target
```
after saving and quitting out run the following commands :
```sh
systemctl --user daemon-reload
systemctl --user enable watchAccent.service
systemctl --user start watchAccent.service
```
logout and log back in to get it working :)
## Requesting new icons:
I understand you really want the icon but when making an icon request,
1. Check [here](https://github.com/RusticBard/Neuwaita/issues/7#issue-1534235372) if the icon you want is present in already or in the making.
2. Please include the [actual name of the icon](#how-to-find-the-actual-name-of-the-icon) that you want to request.
3. Attach an image of the original icons for the icons that you are requesting.
## Using a fallback theme
You can tell system to use a fallback theme in case Neuwaita doesn't provide an icon for your app.
1. Navigate to Neuwaita installation directory (either `~/.local/share/icons/Neuwaita` or `/usr/share/icons/Neuwaita` depending on your installation)
2. Edit `Inherits` variable in index.theme
```desktop
[Icon Theme]
Name=Neuwaita
Comment=Neuwaita icon theme
Inherits=theme-name,theme-name-2
Example=folder
```
You can add as many inherits as you wish. In the example above, icons will be first searched in `Neuwaita` then `theme-name` and then lastly in `theme-name-2`.
### How to find the **Actual name** of the icon?
You're searching for the [reverse domain name notation](https://en.wikipedia.org/wiki/Reverse_domain_name_notation) (e.g `org.mozilla.firefox` for Firefox) it can be found in different ways:
- Icons are usually located inside `/usr/share/icons/hicolor/scalable/`
- For System-wide Flatpaks the location is `/var/lib/flatpak/app/` the name of the folder is the name of your icon
- For user Flatpaks the location is `~/.var/app/`
If you don't wanna find the icon in the files you can also look for the app in flathub go to the app you are requesting and scroll down to find installation instructions and there is a command you can copy as `flatpak install flathub `
## List of icons :
[This](https://github.com/RusticBard/Neuwaita/issues/7#issue-1534235372) is a list of icons that are currently available along with icons that are currently pending to be added. You can see if your icon is present in list and if not then feel free to create an icon request :)
---
If you like me work your support would be appreciated :)