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.
- Host: GitHub
- URL: https://github.com/bebehei/background-for-i3-tray
- Owner: bebehei
- Created: 2018-11-13T19:58:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-13T19:58:55.000Z (over 7 years ago)
- Last Synced: 2025-07-27T04:58:32.352Z (10 months ago)
- Topics: i3, i3bar, i3wm, tray-icon
- Language: Shell
- Size: 7.81 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:

After:

# 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.