How khaledtf19/popmax works
PopMax is a Windows desktop launcher: a global hotkey reveals a searchable app list, where users launch Start Menu apps or open bang searches in a browser; favorites and tray controls support repeat use. The graph also shows scanning, icon extraction, and persistence. Some implementation is only partially excerpted, so uncertain internal wiring is omitted; documented capabilities such as themes and single-instance behavior are retained.
Main entry points: launcher.rs Launcher window · main.rs App startup · scanner.rs App scanner · fav.rs Favorites bar
Components 22
App experience
- App startup
src/main.rs - Launcher window
src/launcher.rs - Fuzzy search
src/components/search.rs - Results list
src/components/list.rs - Bang shortcuts
src/bangs.rs - Theme loader
src/load_themes.rs - Theme definitions
src/themes - Favorites bar
src/components/fav.rs
App catalog
- App scanner
src/scanner.rs - Icon extraction
src/windows_icons.rs
User state
- Scan cache
src/scanner.rs - Icon cache
src/windows_icons.rs - Favorites
src/components/fav.rs
Windows integration
- Global hotkey
src/hotkey.rs - System tray
src/tray.rs - Startup setting
src/autostart.rs
Other components
- User
- Default browser
- Start Menu
- Uninstall registry
- Installed apps
- Windows
Connections 29
- User → Global hotkey: presses toggle
- App startup → Global hotkey: starts listener
- Global hotkey → Launcher window: signals toggle
- App startup → System tray: starts tray
- System tray → Startup setting: reads and toggles
- Startup setting → Windows: configures startup
- App startup → Launcher window: opens window
- App startup → Theme loader: initializes
- Theme loader → Theme definitions: loads
- User → Launcher window: types and confirms
- Launcher window → App scanner: requests app scan
- App scanner → Start Menu: reads shortcuts
- App scanner → Uninstall registry: reads entries
- App scanner → Scan cache: reads and writes
- App scanner → Results list: provides app items
- Results list → Fuzzy search: indexes and filters
- Launcher window → Icon extraction: requests icons
- Icon extraction → Icon cache: reads and writes
- Icon extraction → Windows: extracts system icons
- Launcher window → Results list: updates icons
- User → Results list: selects result
- Launcher window → Installed apps: launches selected app
- Launcher window → Bang shortcuts: parses bang query
- Launcher window → Default browser: opens search URL
- Launcher window → Favorites bar: updates favorites
- Favorites bar → Favorites: loads and saves
- User → Favorites bar: pins or launches
- Favorites bar → Installed apps: launches favorite
- App startup → Windows: guards single instance