A keyboard-first macOS application launcher, written in Swift and SwiftUI.
LetterLauncher runs in the menu bar (the italic "LL"). A global shortcut opens a translucent overlay with your applications: type a letter to jump to an app, move with the arrow keys, launch with Return.
- Letter jump: a letter selects the first app starting with it; pressing it again cycles through the other matches.
- Favorites: mark apps with
Spaceand open them in their own view. - Custom shortcuts: change both global shortcuts from the menu bar item.
- No windows: the app has only the overlay and the menu bar item. Opening it again from Finder does not open a window.
- All applications:
Ctrl+Shift+J - Favorites:
Ctrl+J
Pressing a shortcut again closes the overlay. To change a shortcut, click "LL" in the menu bar, hold Option and choose "Set Favorites Hotkey…" or "Set All Apps Hotkey…", then press the new key combination.
- Letter: jump to the next app starting with that letter.
- Left / Right arrow: previous or next app.
- Up / Down arrow: seven apps back or forward (one row).
- Space: add the selected app to the favorites (★), or remove it after confirmation.
- Return: launch the selected app.
- Escape or click outside: close the overlay.
- Drag the header or the edges: move the overlay. It opens at the same place next time.
LetterLauncher lists the apps in /Applications, /System/Applications, /System/Applications/Utilities and ~/Applications. Shortcuts and favorites are stored in ~/Library/Application Support/LetterLauncher/settings.json.
Requirements: macOS 13 or later, and Swift 6.3 or later from Xcode or the Command Line Tools (xcode-select --install).
git clone https://github.com/shmvon/letterlauncher.git
cd letterlauncher
bash build.shA dialog asks for a name suffix and the install location. The defaults (no suffix, install into /Applications) give /Applications/LetterLauncher.app; press Return to accept them. A suffix such as the computer name tells builds from different Macs apart.
| Command | Result |
|---|---|
bash build.sh --no-dialog |
LetterLauncher.app into /Applications, no questions |
bash build.sh --here |
Into the project folder instead |
bash build.sh --suffix NAME |
LetterLauncher_NAME.app |
bash build.sh --zip |
Also dist/LetterLauncher-<version>.zip |
bash build.sh --clean |
Flush the build cache first |
The script works from any folder and builds incrementally in /private/tmp/LetterLauncher_build. It uses the newest macOS SDK that can build on the Mac and falls back to an older one when only the Command Line Tools are installed. A running copy is quit before it is replaced and reopened afterwards. The version comes from VERSION, the build number from the commit count.
The app is signed ad hoc, so a build only runs on the Mac that built it. To use it on another Mac, build it there.
- Sources/LetterLauncher: the app (entry point and menu bar, overlay view, key handling, hotkeys, app discovery, settings).
- Resources:
Info.plistand the app icon. - build.sh: builds, signs and installs the app.
- VERSION: the version number.
- Accessibility: needed for the global shortcuts, which listen to key presses while another app is active. Grant it in System Settings > Privacy & Security > Accessibility.
If the shortcuts do nothing after a new build, while the launcher does open from the menu bar, macOS has dropped the Accessibility permission. The build is signed ad hoc, which gives it a new signature every time. Reset the permission:
- Quit LetterLauncher (menu bar "LL" > Quit LetterLauncher).
- Remove the old entry: in System Settings > Privacy & Security > Accessibility, select LetterLauncher and click "−", or run
tccutil reset Accessibility com.example.LetterLauncher. - Open LetterLauncher, add it to the Accessibility list again and switch it on.
To keep the permission across builds, create a self-signed code signing certificate once and build.sh signs with it from then on:
- Keychain Access > Certificate Assistant > Create a Certificate…
- Name:
LetterLauncher Dev, Identity Type: Self-Signed Root, Certificate Type: Code Signing. Click Create. - Build again and reset the permission one last time, as above.
SIGN_IDENTITY="Other Name" bash build.sh signs with another certificate you already have.
Created by shmvon