Home

Awesome

Tray for golang

Tray provides a GUI system tray for your application, dynamically generated and updated from a JSON file.

Screenshot

Tray

This was generated from:

{
  "icon": "path/to/tray/icon.png",
  "title": "My Tray App",
  "items": [
    {
      "title": "Open Editor",
      "exec": "gedit",
      "icon": "DocumentIcon"
    },
    {
      "title": "Utilities",
      "items": [
        {
          "title": "Calculator",
          "exec": "gnome-calculator",
          "icon": "ContentAddIcon"
        }
      ]
    }
  ]
}

Features

Use Case

Example

cd test
go run test.go config.json

License

Distributed under the COOL License.

Copyright (c) 2024 IPv6.rs https://ipv6.rs All Rights Reserved