How ahaasler/ulauncher-tmux works
Main Components
a. User Interface Layer:
• Ulauncher Application (parent application)
• Extension UI Components (search interface)
b. Extension Core:
• Main Extension Handler (main.py)
• Configuration Manager (manifest.json)
• Version Control (versions.json)
c. External Systems:
• Terminal Emulator (configurable: gnome-terminal, kitty, konsole)
• Tmux Process Manager
• Tmux Sessions
• [Ulauncher App] ─────► [Extension UI] ─────► [Main Extension Handler]
• ▲ │
• ┘
• Events
• [Main Extension Handler] ───► [Terminal Emulator] ───► [Tmux Process]
• ▼
• [manifest.json] ◄────────────────────────────────► [Tmux Sessions]
Important Details
a. Command Flow:
• How search queries flow from Ulauncher to the extension
• How session creation/attachment commands are passed to the terminal
b. Configuration:
• How terminal emulator settings affect the command execution
• Relationship between manifest.json and the extension behavior
c. Session Management:
• Session discovery process
• Creation/attachment flow for Tmux sessions