systray

package
v1.106.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: BSD-3-Clause Imports: 36 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package systray provides a minimal Tailscale systray application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallStartupScript added in v1.88.0

func InstallStartupScript(initSystem string) error

func SetTheme added in v1.98.0

func SetTheme(theme string)

SetTheme sets the color theme of the systray icon.

Supported themes are:

  • dark - white and gray dots over black background
  • dark:nobg - white and grey dots over transparent background
  • light - black and gray dots over white background
  • light:nobg - black and grey dots over transparent background

Types

type Menu struct {
	// contains filtered or unexported fields
}

Menu represents the systray menu, its items, and the current Tailscale state.

func (menu *Menu) Run(client *local.Client)

Run starts the systray menu and blocks until the menu exits. If client is nil, a default local.Client is used.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL