https://github.com/olback/tray-item-rs
Multi-platform Tray Indicator
https://github.com/olback/tray-item-rs
hacktoberfest icon linux macos tray tray-icon tray-menu windows
Last synced: 11 months ago
JSON representation
Multi-platform Tray Indicator
- Host: GitHub
- URL: https://github.com/olback/tray-item-rs
- Owner: olback
- License: mit
- Created: 2020-05-16T02:53:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-07T14:53:58.000Z (about 2 years ago)
- Last Synced: 2025-04-14T22:19:37.228Z (about 1 year ago)
- Topics: hacktoberfest, icon, linux, macos, tray, tray-icon, tray-menu, windows
- Language: Rust
- Homepage: https://crates.io/crates/tray-item
- Size: 188 KB
- Stars: 309
- Watchers: 5
- Forks: 46
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Multi-platform Tray Indicator
[](https://github.com/olback/tray-item-rs/actions/workflows/rust.yml) [](https://circleci.com/gh/olback/tray-item-rs/tree/master)
Please see the [examples](https://github.com/olback/tray-item-rs/tree/master/examples) as documentation is currently lacking.
Tray Indicator uses icons from gresources on Linux and `.rc`-files on Windows.
These resourses have to be packed into the final binary.
* [x] Linux
* [x] Windows
* [x] MacOS*
\* MacOS does not allow running applications in threads other than main, meaning that
it is not possible to listen for events in a new thread. See the `macos.rs` example for a how-to.
### Todo:
* [ ] Docs