diff --git a/core/main.py b/core/main.py index e98edad..a35f666 100644 --- a/core/main.py +++ b/core/main.py @@ -230,24 +230,26 @@ class EUUtilityApp: print("EU-Utility started!") print("Dashboard window is open (Desktop App)") - print("Press Ctrl+Shift+U to toggle dashboard") + print("Use system tray icon to access dashboard") + print("Press Ctrl+Shift+U to toggle in-game overlay (Activity Bar)") print("Press Ctrl+Shift+H to hide all overlays") - print("Press Ctrl+Shift+B to toggle activity bar overlay") print(f"Loaded {len(self.plugin_manager.get_all_plugins())} plugins") # Show overlay mode info if hasattr(self, 'overlay_controller') and self.overlay_controller: mode = self.overlay_controller._mode print(f"\nActivity Bar Mode: {mode.value}") - if mode.value == 'overlay_toggle': - print(" - Overlay starts hidden") - print(" - Press Ctrl+Shift+B to toggle visibility") - elif mode.value == 'overlay_temp': - print(" - Press Ctrl+Shift+B to show for 8 seconds") - elif mode.value == 'overlay_game': + if mode.value == 'overlay_game': print(" - Overlay auto-shows when EU game is focused") + print(" - Press Ctrl+Shift+U to manually toggle overlay") elif mode.value == 'overlay_always': print(" - Overlay always visible") + print(" - Press Ctrl+Shift+U to hide/show overlay") + elif mode.value == 'overlay_toggle': + print(" - Overlay starts hidden") + print(" - Press Ctrl+Shift+U to toggle overlay") + elif mode.value == 'overlay_temp': + print(" - Press Ctrl+Shift+U to show for 8 seconds") elif mode.value == 'desktop_app': print(" - Activity bar only in desktop app") @@ -395,11 +397,11 @@ class EUUtilityApp: """Setup global hotkeys.""" if KEYBOARD_AVAILABLE: try: - # Toggle main overlay - keyboard.add_hotkey('ctrl+shift+u', self._on_hotkey_pressed) + # Ctrl+Shift+U: Toggle in-game overlay (Activity Bar) + keyboard.add_hotkey('ctrl+shift+u', self._on_activity_bar_hotkey) # Hide all overlays keyboard.add_hotkey('ctrl+shift+h', self._on_hide_overlays_pressed) - # Toggle activity bar + # Alternative: Toggle activity bar (kept for compatibility) keyboard.add_hotkey('ctrl+shift+b', self._on_activity_bar_hotkey) except Exception as e: print(f"Failed to register hotkey: {e}") diff --git a/core/tray_icon.py b/core/tray_icon.py index ad8c66e..d180e13 100644 --- a/core/tray_icon.py +++ b/core/tray_icon.py @@ -89,12 +89,12 @@ class TrayIcon(QWidget): # Simple actions (no emojis to avoid encoding issues) debug_logger.debug("TRAY", "Creating Dashboard action...") - self.dashboard_action = QAction("Dashboard", self) + self.dashboard_action = QAction("Dashboard (Click to Open)", self) self.dashboard_action.triggered.connect(self._on_dashboard_clicked) self.menu.addAction(self.dashboard_action) debug_logger.debug("TRAY", "Creating Activity Bar action...") - self.activity_bar_action = QAction("Activity Bar", self) + self.activity_bar_action = QAction("Activity Bar (Ctrl+Shift+U)", self) self.activity_bar_action.setCheckable(True) self.activity_bar_action.triggered.connect(self._on_activity_bar_clicked) self.menu.addAction(self.activity_bar_action)