diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-19 16:37:04 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-19 16:37:04 +0300 |
| commit | 77538381c28e4de8fa7d3f3731412c97699bb889 (patch) | |
| tree | 6abc09587e3dcb279f86f9c63c848ebfbee7b926 /internal/gui/icon.go | |
| parent | 14357aee5c0db8665bea2da817d67f12d0499451 (diff) | |
feat: add app icon and change default output directory
- Add custom app icon with memory/brain theme
- Icon now displays in GNOME app menu, window title bar, and process list
- Change default output directory to ~/.local/state/totalrecall/
- Make output directory configurable via CLI flag, config file, or env var
- Add desktop entry file for GNOME integration
- Add install script for easy icon installation
- Update README with icon display and default directory information
- Bump version to 0.5.1
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/gui/icon.go')
| -rw-r--r-- | internal/gui/icon.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/internal/gui/icon.go b/internal/gui/icon.go new file mode 100644 index 0000000..f778225 --- /dev/null +++ b/internal/gui/icon.go @@ -0,0 +1,17 @@ +package gui + +import ( + _ "embed" + "fyne.io/fyne/v2" +) + +//go:embed totalrecall_256.png +var iconData []byte + +// GetAppIcon returns the application icon as a Fyne resource +func GetAppIcon() fyne.Resource { + return &fyne.StaticResource{ + StaticName: "totalrecall.png", + StaticContent: iconData, + } +}
\ No newline at end of file |
