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

https://github.com/bebehei/background-for-i3-tray

Generate icons without an alpha channel suited for i3 traybar.
https://github.com/bebehei/background-for-i3-tray

i3 i3bar i3wm tray-icon

Last synced: 10 months ago
JSON representation

Generate icons without an alpha channel suited for i3 traybar.

Awesome Lists containing this project

README

          

# background-for-i3-tray

Generate status icons with a solid background. This removes clutter in your traybar.

This is mostly for users of the i3 window manager.

Before:

![ugly](./screenshots/ugly.png)

After:

![nice](./screenshots/nice.png)

# Installation

```sh
./genbackground "#"
./sync
cat >> ~/.profile <<-END
export XDG_DATA_DIRS=~/.local/share/:/usr/local/share/:/usr/share
END
```

Relogin.

# What does this do?

It basically searches for all icons in `/usr/share/icons` and grabs the necessary ones, and converts them to PNGs with no alpha channel at all. The alpha channel got replaced with the given color. Then the sync script copies the files into `~/.local/share/icons`, which gets precedence in the `XDG_DATA_DIRS` path variable.

So any icon, loaded by a tray symbol will get searched in the local home folder first and if not found, then the old `/usr/share/icons` will get consulted.