The launcher GNOME didn't need. I did. You might as well.
After 8 years on Linux, I switched to Windows and got used to the convenience of launchers like Raycast and Flow Launcher. Returning to Linux, I deeply missed that polished workflow and the unified look of macOS. Spear is my attempt to bring that premium experience to Linux, using GNOME because of its consistent design code and unified Libadwaita theming.
Install Rust and the native GTK/Libadwaita development packages before building Spear:
sudo apt install build-essential pkg-config libgtk-4-dev libadwaita-1-devOn Fedora:
sudo dnf install gcc pkg-config gtk4-devel libadwaita-develIf you want to install Spear locally to your home directory:
- Run the installer script:
./install.sh
- Add to PATH:
If
~/.local/binis not in your PATH, add this to your~/.bashrcor~/.zshrc:export PATH="$HOME/.local/bin:$PATH"
- Start the launcher:
Press
spear
Alt + Spaceto toggle the launcher!
If you prefer to install Spear system-wide:
- Package tool prerequisites:
cargo install cargo-deb cargo-generate-rpm
- Debian Package (
.deb):cargo deb
- Red Hat Package (
.rpm):cargo build --release cargo generate-rpm
After installing the package, run spear --init-setup in your user session to configure autostart and hotkeys.
Add custom search engines by placing a folder with manifest.json and a script in ~/.config/spear/plugins/.
{
"name": "Hello World",
"keyword": "hello",
"command": ["python3", "main.py"],
"icon": "emblem-favorite-symbolic"
}Your script should print a JSON list of items to stdout:
[
{
"id": "item-id",
"title": "Item Title",
"subtitle": "Item description",
"icon": "mail-send-symbolic",
"score": 100,
"actions": [
{
"label": "Open Website",
"type": "open-url",
"value": "https://google.com"
}
]
}
]We plan to add more native features to Spear:
- 🎵 Media Controls: Play, pause, skip, and see album art for media players.
- 🖥️ Workspace Switcher: Quick window and workspace navigation.
- 🧱 Window Tiling: Snapping window layouts (halves, quarters, custom grids).
This project is licensed under the MIT License.