systray

package
v1.98.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: BSD-3-Clause Imports: 35 Imported by: 1

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