| Crates.io | launch-bar |
| lib.rs | launch-bar |
| version | 0.1.0 |
| created_at | 2026-01-25 15:23:09.518435+00 |
| updated_at | 2026-01-25 15:23:09.518435+00 |
| description | Context-aware command launcher with icon buttons |
| homepage | |
| repository | https://github.com/ynishi/launch-bar |
| max_upload_size | |
| id | 2068937 |
| size | 159,004 |
Context-aware command launcher with icon buttons for developers.
$clipboard variable in commandscargo install launch-bar
# Run in current directory (auto-detects project type)
launch-bar
# Use specific preset
launch-bar --preset RustDev
# Create local config in current directory
launch-bar --init
# Create/reset global config
launch-bar --init-global
Configuration files are loaded in this order:
./launch-bar.toml (local, highest priority)~/.config/launch-bar/config.toml (global)[window]
max_icons = 5 # Maximum icons to display
opacity = 0.8 # Background opacity (0.0 - 1.0)
border = "auto" # "auto", "show", "hide"
title_bar = "auto" # "auto" (hover), "show", "hide"
accent_line = "auto" # "auto" (highlight on change/hover), "show", "hide"
[[presets]]
name = "RustDev"
detect_file = "Cargo.toml"
base_color = "#FF7043"
commands = [
{ name = "Run", cmd = "cargo run", icon = "play" },
{ name = "Test", cmd = "cargo test", icon = "check" },
{ name = "Build", cmd = "cargo build --release", icon = "wrench" },
{ name = "Clean", cmd = "cargo clean", icon = "broom" },
{ name = "Fmt", cmd = "cargo fmt", icon = "edit" },
]
[[presets]]
name = "NodeDev"
detect_file = "package.json"
base_color = "#66BB6A"
commands = [
{ name = "Start", cmd = "npm start", icon = "play" },
{ name = "Test", cmd = "npm test", icon = "check" },
{ name = "Build", cmd = "npm run build", icon = "wrench" },
]
| Field | Description |
|---|---|
name |
Preset identifier |
detect_file |
Auto-detect by file presence |
cwd_pattern |
Auto-detect by path pattern (supports * suffix) |
base_color |
Hex color for accent line |
commands |
List of command configurations |
| Field | Description |
|---|---|
name |
Display name |
cmd |
Command to execute (supports $clipboard) |
icon |
Icon name (see available icons below) |
cwd |
Working directory override |
play, check, wrench, broom, edit, trash, gear, bug, refresh, folder, file, plus, minus, x, search, copy, download, upload, eye, fire, lock, unlock, info, warning, stop, pause, home, user, terminal, code, package
Hover over the top area to reveal the title bar:
MIT