feat(settings): add system tray settings

Add tray icon configuration options:
- Enable/disable tray icon (requires restart)
- Minimize to tray: hide window when clicking minimize
- Close to tray: hide window instead of quitting

Rust backend: TraySettingsState with SQLite persistence
Frontend: SettingsView tray subsection with toggles

Related to #15 (title bar settings)
This commit is contained in:
vicrodh committed 2026-01-23 16:38:17 -06:00
1 parent 3fb597f3fb
commit 077aa01356
7 files changed
+369 -8

No files matched your search

+10 -1
View File
@@ -365,7 +365,16 @@
"inAppToasts": "In-app toasts notifications",
"systemNotifications": "System Notifications",
"hideTitleBar": "Hide title bar",
"hideTitleBarDesc": "Hide the title bar completely (for tiling window manager users)"
"hideTitleBarDesc": "Hide the title bar completely (for tiling window manager users)",
"tray": {
"title": "System Tray",
"enableTray": "Enable tray icon",
"enableTrayDesc": "Show icon in system tray (requires restart)",
"minimizeToTray": "Minimize to tray",
"minimizeToTrayDesc": "Hide window to tray when minimizing",
"closeToTray": "Close to tray",
"closeToTrayDesc": "Hide window to tray instead of quitting"
}
},
"library": {
"title": "Library",
+10 -1
View File
@@ -365,7 +365,16 @@
"inAppToasts": "Notificaciones en App",
"systemNotifications": "Notificaciones del Sistema",
"hideTitleBar": "Ocultar barra de título",
"hideTitleBarDesc": "Ocultar completamente la barra de título (para usuarios de gestores de ventanas en mosaico)"
"hideTitleBarDesc": "Ocultar completamente la barra de título (para usuarios de gestores de ventanas en mosaico)",
"tray": {
"title": "Bandeja del Sistema",
"enableTray": "Habilitar icono de bandeja",
"enableTrayDesc": "Mostrar icono en la bandeja del sistema (requiere reinicio)",
"minimizeToTray": "Minimizar a bandeja",
"minimizeToTrayDesc": "Ocultar ventana a la bandeja al minimizar",
"closeToTray": "Cerrar a bandeja",
"closeToTrayDesc": "Ocultar ventana a la bandeja en vez de cerrar"
}
},
"library": {
"title": "Biblioteca",