https://github.com/xi/polybar-status-indicators
Freedesktop's StatusNotifierHost for polybar
https://github.com/xi/polybar-status-indicators
polybar polybar-scripts statusnotifieritem systray
Last synced: 4 months ago
JSON representation
Freedesktop's StatusNotifierHost for polybar
- Host: GitHub
- URL: https://github.com/xi/polybar-status-indicators
- Owner: xi
- License: mit
- Created: 2022-02-17T08:02:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-25T18:21:47.000Z (almost 3 years ago)
- Last Synced: 2024-12-03T17:34:50.503Z (about 1 year ago)
- Topics: polybar, polybar-scripts, statusnotifieritem, systray
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
An implementation of the freedesktop [StatusNotifierItem][0] specification (the
successor of appindicators and systray) for polybar.
This allows you to use many existing status indicators, e.g. for NetworkManager
or Steam. Menus are supported via rofi.


## Dependencies
- python3-gi
- rofi (or a similar dmenu-like tool)
## Configuration
- In host.py, adapt `render()` to use your icons and colors
- In menu.py, adapt `DMENU_CMD` to your preferred dmenu-like tool
Apart from that, feel free to change whatever you like. This repo is meant as
an example, not a turn-key solution.
## Module
```ini
[module/indicators]
type = custom/script
exec = python3 ~/polybar-status-indicators/host.py 2> /dev/null
tail = true
```
[0]: https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/