launch-bar-0.1.0 is not a library.
launch-bar
Context-aware command launcher with icon buttons for developers.
Features
- Auto-detection: Detects project type by file presence (Cargo.toml, package.json, etc.)
- Preset system: Configurable command sets per project type with custom colors
- Visual feedback: Process status indicators (running/success/failed)
- File watcher: Highlights when files in the working directory change
- Position memory: Remembers window position per directory
- Clipboard support: Use
$clipboardvariable in commands - Transparent UI: Semi-transparent window with customizable opacity
Installation
Usage
# Run in current directory (auto-detects project type)
# Use specific preset
# Create local config in current directory
# Create/reset global config
Configuration
Configuration files are loaded in this order:
./launch-bar.toml(local, highest priority)~/.config/launch-bar/config.toml(global)
Example config
[]
= 5 # Maximum icons to display
= 0.8 # Background opacity (0.0 - 1.0)
= "auto" # "auto", "show", "hide"
= "auto" # "auto" (hover), "show", "hide"
= "auto" # "auto" (highlight on change/hover), "show", "hide"
[[]]
= "RustDev"
= "Cargo.toml"
= "#FF7043"
= [
{ = "Run", = "cargo run", = "play" },
{ = "Test", = "cargo test", = "check" },
{ = "Build", = "cargo build --release", = "wrench" },
{ = "Clean", = "cargo clean", = "broom" },
{ = "Fmt", = "cargo fmt", = "edit" },
]
[[]]
= "NodeDev"
= "package.json"
= "#66BB6A"
= [
{ = "Start", = "npm start", = "play" },
{ = "Test", = "npm test", = "check" },
{ = "Build", = "npm run build", = "wrench" },
]
Preset options
| 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 |
Command options
| Field | Description |
|---|---|
name |
Display name |
cmd |
Command to execute (supports $clipboard) |
icon |
Icon name (see available icons below) |
cwd |
Working directory override |
Available icons
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
Window controls
Hover over the top area to reveal the title bar:
- Settings (gear icon): Open config file
- Corner (corners icon): Move to bottom-right corner / Return to original position
- Minimize (minus icon): Minimize window
- Close (x icon): Close application
License
MIT