powerful but friendly backup program that runs in your tray, powered by restic devins.page/restray
go restic system-tray
2

Configure Feed

Select the types of activity you want to include in your feed.

feat: icon improvements

- run oxipng on all icons during generation
- redesign some of the animated icons
- allow user to pick between "color", "mono", "white", or "black" icons. "mono" is default if unset on macos, and "color" is default if unset on other.
- added light/dark mode detection when using "mono"

intergrav (Jun 30, 2026, 9:30 PM EDT) 3c8442a7 136f883e

+279 -39
+1
README.md
··· 61 61 | `check_updates` | bool | `true` | **MacOS/Windows only.** Check for new Restray versions on startup and periodically. When an update is found, the version item in the menu changes to an update button | 62 62 | `manage_restic` | bool | `false` | **Windows only.** If restic is not found in PATH, automatically downloads and updates a self-managed restic binary daily from GitHub. | 63 63 | `notifications` | string | `"none"` | `"all"` (success + errors), `"errors"` (errors only), or `"none"` (silent) | 64 + | `icon` | string | platform | `"color"`, `"mono"`, `"white"`, or `"black"`. Default is `"mono"` on MacOS and `"color"` elsewhere. `"mono"` follows OS light/dark mode. | 64 65 | `schedule_display` | string | `"description"` | `"description"` (human-readable, e.g. "every 6 hours"), `"cron"` (raw expression, e.g. "0 \* \* \* \*"), or `"none"` | 65 66 | `terminal` | string | `""` | Terminal emulator used in "Shell" and "View Log". If unset, MacOS will use `Terminal.app`. Linux will use default. Not used on Windows. e.g. "Ghostty" | 66 67
+3 -2
cmd/restray/config.go
··· 67 67 CheckUpdates *bool `toml:"check_updates"` 68 68 ManageRestic bool `toml:"manage_restic"` 69 69 Notifications string `toml:"notifications"` 70 + Icon string `toml:"icon"` 70 71 ScheduleDisplay string `toml:"schedule_display"` 71 72 Terminal string `toml:"terminal"` 72 73 } ··· 76 77 } 77 78 78 79 type Config struct { 79 - GUI GUI `toml:"gui"` 80 80 General GUI `toml:"general"` // deprecated, use [gui] 81 + GUI GUI `toml:"gui"` 82 + Profile []Profile `toml:"profile"` // deprecated, use [[profiles]] 81 83 Profiles []Profile `toml:"profiles"` 82 - Profile []Profile `toml:"profile"` 83 84 } 84 85 85 86 func parseEnvFile(path string) (map[string]string, error) {
+107 -27
cmd/restray/icons.go
··· 1 1 package main 2 2 3 3 import ( 4 - "embed" 4 + "log" 5 5 "path" 6 - "runtime" 7 6 "sort" 8 7 "strings" 9 8 "sync" ··· 12 11 "fyne.io/systray" 13 12 ) 14 13 15 - //go:embed icons/generated/* 16 - var iconFS embed.FS 14 + type iconVariant struct { 15 + name string 16 + template bool 17 + } 17 18 18 19 var ( 19 20 animMu sync.Mutex 20 21 animStop chan struct{} 22 + 23 + iconMu sync.RWMutex 24 + iconMode = defaultIconMode() 25 + 26 + alertMu sync.RWMutex 27 + currentIcon = "idle" 28 + alertIcon []byte 21 29 ) 22 30 31 + func normalizeIconMode(mode string) string { 32 + mode = strings.ToLower(strings.TrimSpace(mode)) 33 + switch mode { 34 + case "color", "mono", "white", "black": 35 + return mode 36 + default: 37 + return defaultIconMode() 38 + } 39 + } 40 + 41 + func applyIconMode(mode string) bool { 42 + mode = normalizeIconMode(mode) 43 + 44 + iconMu.Lock() 45 + changed := iconMode != mode 46 + iconMode = mode 47 + iconMu.Unlock() 48 + 49 + if mode == "mono" { 50 + startIconThemeWatcher() 51 + } else { 52 + stopIconThemeWatcher() 53 + } 54 + if changed || len(currentAlertIcon()) == 0 { 55 + initAlertIcon() 56 + } 57 + return changed 58 + } 59 + 60 + func currentIconMode() string { 61 + iconMu.RLock() 62 + defer iconMu.RUnlock() 63 + return iconMode 64 + } 65 + 23 66 func cancelAnimation() { 24 67 animMu.Lock() 25 68 defer animMu.Unlock() ··· 35 78 stop := make(chan struct{}) 36 79 animStop = stop 37 80 animMu.Unlock() 81 + defer clearAnimation(stop) 38 82 39 - frames := loadIcons(iconVariant() + "-" + name + "-") 83 + frames, template := loadIconFrames(name) 40 84 for _, frame := range frames { 41 85 select { 42 86 case <-stop: 43 87 return 44 88 default: 45 - setIcon(frame) 89 + setIcon(frame, template) 46 90 time.Sleep(50 * time.Millisecond) 47 91 } 48 92 } 49 93 } 50 94 95 + func clearAnimation(stop chan struct{}) { 96 + animMu.Lock() 97 + defer animMu.Unlock() 98 + if animStop == stop { 99 + animStop = nil 100 + } 101 + } 102 + 51 103 func loadIcons(prefix string) [][]byte { 52 - entries, _ := iconFS.ReadDir("icons/generated") 104 + entries, err := iconFS.ReadDir("icons/generated") 105 + if err != nil { 106 + log.Printf("icons: read embedded directory: %v", err) 107 + return nil 108 + } 109 + 53 110 var names []string 54 111 for _, e := range entries { 55 112 if strings.HasPrefix(e.Name(), prefix) { ··· 57 114 } 58 115 } 59 116 sort.Strings(names) 60 - frames := make([][]byte, len(names)) 61 - for i, n := range names { 62 - frames[i], _ = iconFS.ReadFile(path.Join("icons/generated", n)) 117 + 118 + frames := make([][]byte, 0, len(names)) 119 + for _, n := range names { 120 + frame, err := iconFS.ReadFile(path.Join("icons/generated", n)) 121 + if err != nil { 122 + log.Printf("icons: read embedded icon %s: %v", n, err) 123 + continue 124 + } 125 + frames = append(frames, frame) 63 126 } 64 127 return frames 65 128 } 66 129 67 - func setIcon(icon []byte) { 68 - if runtime.GOOS == "darwin" { 69 - systray.SetTemplateIcon(icon, icon) 70 - } else { 71 - systray.SetIcon(icon) 130 + func loadIconFrames(name string) ([][]byte, bool) { 131 + variant := platformIconVariant(currentIconMode()) 132 + frames := loadIcons(variant.name + "-" + name + "-") 133 + if len(frames) == 0 && variant.name != "color" { 134 + frames = loadIcons("color-" + name + "-") 135 + variant.template = false 72 136 } 137 + return frames, variant.template 73 138 } 74 139 75 - func iconVariant() string { 76 - switch runtime.GOOS { 77 - case "darwin": 78 - return "macos" 79 - case "windows": 80 - return "windows" 81 - default: 82 - return "linux" 140 + func setIcon(icon []byte, template bool) { 141 + if template { 142 + systray.SetTemplateIcon(icon, icon) 143 + return 83 144 } 145 + systray.SetIcon(icon) 84 146 } 85 147 86 148 func setIconAnimated(name string) { 149 + alertMu.Lock() 150 + currentIcon = name 151 + alertMu.Unlock() 87 152 go playAnimation(name) 88 153 } 89 154 90 - var alertIcon []byte 155 + func refreshIcon() { 156 + alertMu.RLock() 157 + name := currentIcon 158 + alertMu.RUnlock() 159 + setIconAnimated(name) 160 + } 91 161 92 162 func initAlertIcon() { 93 - frames := loadIcons(iconVariant() + "-fail-") 94 - if len(frames) > 0 { 95 - alertIcon = frames[len(frames)-1] 163 + frames, _ := loadIconFrames("fail") 164 + if len(frames) == 0 { 165 + return 96 166 } 167 + 168 + alertMu.Lock() 169 + alertIcon = frames[len(frames)-1] 170 + alertMu.Unlock() 171 + } 172 + 173 + func currentAlertIcon() []byte { 174 + alertMu.RLock() 175 + defer alertMu.RUnlock() 176 + return alertIcon 97 177 }
cmd/restray/icons/busy.png

This is a binary file and will not be displayed.

cmd/restray/icons/fail.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-13.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-14.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-15.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-15.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-16.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-busy-16.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-13.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-14.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-15.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-15.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-16.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-16.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-17.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-17.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-18.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-18.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-19.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-19.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-20.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-20.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-21.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-21.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-22.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-22.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-23.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-23.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-24.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-24.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-25.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-25.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-26.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-26.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-27.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-27.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-28.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-28.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-29.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-29.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-30.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-30.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-31.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-download-31.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-fail-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/black-idle-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-13.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-14.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-15.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-15.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-16.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-busy-16.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-13.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-14.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-15.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-15.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-16.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-16.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-17.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-17.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-18.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-18.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-19.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-19.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-20.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-20.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-21.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-21.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-22.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-22.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-23.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-23.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-24.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-24.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-25.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-25.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-26.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-26.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-27.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-27.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-28.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-28.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-29.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-29.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-30.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-30.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-31.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-download-31.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-fail-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/color-idle-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-15.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-busy-16.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-15.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-16.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-17.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-18.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-19.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-20.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-21.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-22.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-23.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-24.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-25.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-26.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-27.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-28.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-29.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-30.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-download-31.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-fail-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/linux-idle-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-15.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-busy-16.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-15.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-16.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-17.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-18.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-19.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-20.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-21.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-22.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-23.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-24.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-25.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-26.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-27.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-28.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-29.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-30.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-download-31.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-fail-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/macos-idle-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-13.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-14.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-15.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-15.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-16.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-busy-16.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-13.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-13.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-14.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-14.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-15.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-15.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-16.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-16.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-17.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-17.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-18.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-18.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-19.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-19.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-20.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-20.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-21.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-21.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-22.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-22.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-23.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-23.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-24.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-24.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-25.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-25.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-26.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-26.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-27.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-27.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-28.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-28.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-29.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-29.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-30.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-30.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-31.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-download-31.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-fail-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-00.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-01.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-02.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-03.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-04.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-05.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-06.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-07.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-08.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-09.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-10.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-11.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/white-idle-12.png

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-13.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-14.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-15.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-busy-16.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-13.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-14.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-15.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-16.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-17.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-18.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-19.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-20.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-21.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-22.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-23.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-24.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-25.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-26.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-27.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-28.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-29.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-30.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-download-31.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-12.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-13.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-fail-14.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-00.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-01.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-02.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-03.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-04.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-05.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-06.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-07.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-08.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-09.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-10.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-11.ico

This is a binary file and will not be displayed.

cmd/restray/icons/generated/windows-idle-12.ico

This is a binary file and will not be displayed.

+8
cmd/restray/icons_embed_other.go
··· 1 + //go:build !windows 2 + 3 + package main 4 + 5 + import "embed" 6 + 7 + //go:embed icons/generated/*.png 8 + var iconFS embed.FS
+8
cmd/restray/icons_embed_windows.go
··· 1 + //go:build windows 2 + 3 + package main 4 + 5 + import "embed" 6 + 7 + //go:embed icons/generated/*.ico 8 + var iconFS embed.FS
+15
cmd/restray/icons_theme_darwin.go
··· 1 + //go:build darwin 2 + 3 + package main 4 + 5 + func defaultIconMode() string { return "mono" } 6 + 7 + func startIconThemeWatcher() {} 8 + func stopIconThemeWatcher() {} 9 + 10 + func platformIconVariant(mode string) iconVariant { 11 + if mode == "mono" { 12 + return iconVariant{name: "black", template: true} // macOS renders template icon 13 + } 14 + return iconVariant{name: mode} 15 + }
+114
cmd/restray/icons_theme_other.go
··· 1 + //go:build !darwin 2 + 3 + package main 4 + 5 + import ( 6 + "context" 7 + "log" 8 + 9 + dark "github.com/thiagokokada/dark-mode-go" 10 + ) 11 + 12 + type iconThemeWatcher struct { 13 + cancel context.CancelFunc 14 + } 15 + 16 + var ( 17 + systemDark bool 18 + themeWatcher *iconThemeWatcher 19 + ) 20 + 21 + func defaultIconMode() string { return "color" } 22 + 23 + func setSystemDarkMode(dark bool) bool { 24 + iconMu.Lock() 25 + changed := systemDark != dark 26 + systemDark = dark 27 + iconMu.Unlock() 28 + return changed 29 + } 30 + 31 + func startIconThemeWatcher() { 32 + iconMu.Lock() 33 + if themeWatcher != nil { 34 + iconMu.Unlock() 35 + return 36 + } 37 + ctx, cancel := context.WithCancel(context.Background()) 38 + watcher := &iconThemeWatcher{cancel: cancel} 39 + themeWatcher = watcher 40 + iconMu.Unlock() 41 + 42 + if isDark, err := dark.IsDarkMode(); err == nil { 43 + setSystemDarkMode(isDark) 44 + } else { 45 + log.Printf("icon theme detection failed: %v", err) 46 + } 47 + 48 + events, errs, err := dark.WatchDarkMode(ctx) 49 + if err != nil { 50 + log.Printf("icon theme watcher failed: %v", err) 51 + cancel() 52 + clearIconThemeWatcher(watcher) 53 + return 54 + } 55 + 56 + go func() { 57 + defer clearIconThemeWatcher(watcher) 58 + for events != nil || errs != nil { 59 + select { 60 + case isDark, ok := <-events: 61 + if !ok { 62 + events = nil 63 + continue 64 + } 65 + if setSystemDarkMode(isDark) && currentIconMode() == "mono" { 66 + initAlertIcon() 67 + refreshIcon() 68 + } 69 + case err, ok := <-errs: 70 + if !ok { 71 + errs = nil 72 + continue 73 + } 74 + if err != nil { 75 + log.Printf("icon theme watcher: %v", err) 76 + } 77 + } 78 + } 79 + }() 80 + } 81 + 82 + func stopIconThemeWatcher() { 83 + iconMu.Lock() 84 + watcher := themeWatcher 85 + if watcher == nil { 86 + iconMu.Unlock() 87 + return 88 + } 89 + themeWatcher = nil 90 + iconMu.Unlock() 91 + watcher.cancel() 92 + } 93 + 94 + func clearIconThemeWatcher(watcher *iconThemeWatcher) { 95 + iconMu.Lock() 96 + if themeWatcher == watcher { 97 + themeWatcher = nil 98 + } 99 + iconMu.Unlock() 100 + } 101 + 102 + func platformIconVariant(mode string) iconVariant { 103 + if mode != "mono" { 104 + return iconVariant{name: mode} 105 + } 106 + 107 + iconMu.RLock() 108 + dark := systemDark 109 + iconMu.RUnlock() 110 + if dark { 111 + return iconVariant{name: "white"} 112 + } 113 + return iconVariant{name: "black"} 114 + }
-1
cmd/restray/main.go
··· 63 63 log.Printf("Restray v%s", version) 64 64 defer log.Print("Restray exiting") 65 65 66 - initAlertIcon() 67 66 systray.Run(onReady, func() { 68 67 log.Print("systray exited") 69 68 })
+1 -1
cmd/restray/operations.go
··· 458 458 if mode != "all" && mode != "errors" { 459 459 return 460 460 } 461 - beeep.Alert(operation+" failed", msg, alertIcon) 461 + beeep.Alert(operation+" failed", msg, currentAlertIcon()) 462 462 } 463 463 464 464 func notifySuccess(operation string) {
+1 -1
cmd/restray/templates/config.toml
··· 1 1 # Restray configuration 2 - # Configuration reference: https://tangled.org/devins.page/restray#configuration 2 + # Full configuration reference: https://tangled.org/devins.page/restray#configuration 3 3 4 4 [gui] 5 5 # check_updates = true
+5
cmd/restray/tray.go
··· 119 119 120 120 func onReady() { 121 121 firstLaunch := !fileExists(configPath()) 122 + applyIconMode(loadConfig().GUI.Icon) 122 123 setIconAnimated("idle") 123 124 systray.SetTooltip("Restray") 124 125 ··· 413 414 defer applyMu.Unlock() 414 415 if isAnyBusy() { 415 416 cfg := loadConfig() 417 + if applyIconMode(cfg.GUI.Icon) { 418 + refreshIcon() 419 + } 416 420 profileMu.Lock() 417 421 if activeProfile >= len(cfg.Profiles) { 418 422 activeProfile = 0 ··· 426 430 return 427 431 } 428 432 cfg := loadConfig() 433 + applyIconMode(cfg.GUI.Icon) 429 434 state.mu.Lock() 430 435 state.notifications = strings.ToLower(cfg.GUI.Notifications) 431 436 state.mu.Unlock()
+2 -1
flake.nix
··· 25 25 pname = "restray"; 26 26 version = "0.14.0"; 27 27 src = ./.; 28 - vendorHash = "sha256-iYM2yvcTsYqn1pyB7jrqroYUfZM4ysWZnXKiLRVqkT0="; 28 + vendorHash = "sha256-ozeoWgJ/e7zAZqUzmFFCV4VXnsINGJ55pfWzjqJkFUM="; 29 29 subPackages = ["cmd/restray"]; 30 30 31 31 ldflags = ["-X" "main.resticBuiltinPath=${pkgs.restic}/bin/restic"]; ··· 84 84 perl 85 85 libicns 86 86 imagemagick 87 + oxipng 87 88 ] 88 89 ++ lib.optionals (!isDarwin) [ 89 90 pkg-config
+1
go.mod
··· 10 10 github.com/gen2brain/beeep v0.11.2 11 11 github.com/lnquy/cron v1.1.1 12 12 github.com/robfig/cron/v3 v3.0.1 13 + github.com/thiagokokada/dark-mode-go v0.0.2 13 14 ) 14 15 15 16 require (
+2
go.sum
··· 44 44 github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= 45 45 github.com/tadvi/systray v0.0.0-20190226123456-11a2b8fa57af h1:6yITBqGTE2lEeTPG04SN9W+iWHCRyHqlVYILiSXziwk= 46 46 github.com/tadvi/systray v0.0.0-20190226123456-11a2b8fa57af/go.mod h1:4F09kP5F+am0jAwlQLddpoMDM+iewkxxt6nxUQ5nq5o= 47 + github.com/thiagokokada/dark-mode-go v0.0.2 h1:e4TAW4A/VylmlFKL9Jo83xYlu7rqWl+keH6lQO5owio= 48 + github.com/thiagokokada/dark-mode-go v0.0.2/go.mod h1:IQrRBLMIz8vfFZ/sdZr7ASfW1SpE9TJwUCDbKbG2AQU= 47 49 golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 48 50 golang.org/x/sys v0.46.0 h1:noSf2Fq6F8DBgS+LysIkx7rIExoNHJsxOAtPp4rthXw= 49 51 golang.org/x/sys v0.46.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
+11 -6
justfile
··· 12 12 out="{{pkg}}/icons/generated" 13 13 rm -rf "$out" 14 14 mkdir -p "$out" 15 + oxipng -r -o max -z --strip all -a "{{pkg}}/icons" 15 16 for sheet in idle busy fail download; do 16 17 src="{{pkg}}/icons/$sheet.png" 17 18 [ -f "$src" ] || continue ··· 22 23 for ((i=0; i<cols; i++)); do 23 24 x=$((i * sz)) 24 25 n=$(printf "%02d" "$i") 25 - magick "$src" -crop "${sz}x${sz}+${x}+0" +repage "$tmp/frame.png" 26 - cp "$tmp/frame.png" "$out/linux-${sheet}-${n}.png" 27 - magick "$tmp/frame.png" -alpha extract -background black -alpha shape "$out/macos-${sheet}-${n}.png" 28 - magick "$tmp/frame.png" -define icon:auto-resize=64,48,32,16 "$out/windows-${sheet}-${n}.ico" 26 + magick "$src" -crop "${sz}x${sz}+${x}+0" +repage "$tmp/color.png" 27 + magick "$tmp/color.png" -alpha extract -background white -alpha shape "$tmp/white.png" 28 + magick "$tmp/color.png" -alpha extract -background black -alpha shape "$tmp/black.png" 29 + for variant in color white black; do 30 + cp "$tmp/$variant.png" "$out/${variant}-${sheet}-${n}.png" 31 + oxipng -o max -z --strip all -a "$out/${variant}-${sheet}-${n}.png" 32 + magick "$out/${variant}-${sheet}-${n}.png" -define icon:auto-resize=32,16 "$out/${variant}-${sheet}-${n}.ico" 33 + done 29 34 done 30 35 done 31 - # Last idle frame = app icon for packaging 32 - last=$(find "$out" -name "linux-idle-*.png" 2>/dev/null | sort | tail -1) 36 + # Last color idle frame = app icon for packaging 37 + last=$(find "$out" -name "color-idle-*.png" 2>/dev/null | sort | tail -1) 33 38 if [ -n "$last" ]; then 34 39 cp "$last" packaging/linux/restray.png 35 40 magick "$last" -define icon:auto-resize=256,128,64,48,32,16 packaging/windows/restray.ico
packaging/linux/restray.png

This is a binary file and will not be displayed.