not-holar / tray-item-rs

Multi-platform Tray Indicator

Home Page:https://crates.io/crates/tray-item

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-platform Tray Indicator

Cargo Check CircleCI

Please see the examples as documentation is currently lacking.

Tray Indicator uses icons from gresources on Linux and .rc-files on Windows.
These recourses have to be packed into be final binary.

  • Linux
  • Windows
  • MacOS*

* MacOS does not allow running applications in threads other than main, meaning that it is not possible to listen on events in a new thread. See the macos.rs example for a how-to.

Todo:

  • Docs

About

Multi-platform Tray Indicator

https://crates.io/crates/tray-item

License:MIT License


Languages

Language:Rust 96.8%Language:Shell 3.2%