You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/systray
Brad Fitzpatrick 1e2e319e7d util/slicesx: add MapKeys and MapValues from golang.org/x/exp/maps
Importing the ~deprecated golang.org/x/exp/maps as "xmaps" to not
shadow the std "maps" was getting ugly.

And using slices.Collect on an iterator is verbose & allocates more.

So copy (x)maps.Keys+Values into our slicesx package instead.

Updates #cleanup
Updates #12912
Updates #14514 (pulled out of that change)

Change-Id: I5e68d12729934de93cf4a9cd87c367645f86123a
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
11 months ago
..
README.md cmd/systray: add a basic linux systray app 1 year ago
logo.go cmd/systray: set app icon and title consistently 11 months ago
systray.go util/slicesx: add MapKeys and MapValues from golang.org/x/exp/maps 11 months ago

README.md

systray

The systray command is a minimal Tailscale systray application for Linux. It is designed to provide quick access to common operations like profile switching and exit node selection.

Supported platforms

The fyne.io/systray package we use supports Windows, macOS, Linux, and many BSDs, so the systray application will likely work for the most part on those platforms. Notifications currently only work on Linux, as that is the main target.