Your everyday helpers and every program on the PATH in one window, found as you type.
The top half is your own list: volume, brightness, Bluetooth, the apps you open every day. It spreads across the window in columns. Below a line sits a search field, and under it every program whose name has what you type. Part of the Fe₂O₃ Rust terminal suite.
It replaces rofi and a menu script in one.
Bind it to a key in your window manager:
bind F12 exec launch
From a key binding it opens its own glass window. The same key closes it again.
~/.launchrc changes the colours, one name = #rrggbb per line: accent, text, dim, dark, bar_bg, bar_title, bar_text, foot_bg, foot_text, foot_dim, pick_fg, pick_bg, side for a bar down the left side, and side_glyphs for strands of Matrix code down the left side instead. A name left out keeps its colour. The views tool writes this file, as in the LCARS view: black letters on bars of orange and lilac, like the screens in Star Trek.
| Key | Does |
|---|---|
| type | Filter the helpers and the programs at once |
arrows, Tab |
Move; left and right jump between columns |
Enter |
Run the one under the cursor, or what you typed |
2 3 + |
A sum: the answer shows under the field, and Enter copies it |
Ctrl-t |
Send the next program the other way: into a glass, or out of one |
Ctrl-w Ctrl-u |
Delete a word, or all of it |
Esc |
Close |
Type vol and only Volume Up and Volume Down stay lit above. Type gimp and GIMP shows below.
~/.launch lists them, one per line. The key in brackets is only shown, as a reminder:
Mute On [Ctrl+F1] = wpctl set-mute @DEFAULT_AUDIO_SINK@ 1
Volume Up [Ctrl+F3] = wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 10%+
Bluetooth On = rfkill unblock bluetooth
Bluetooth Off = rfkill block bluetooth
A blank line starts a new group. A line ## Name #rrggbb starts one with a name over it, in that colour; the keys in the group show in the colour too, and the colour may be left out. A group never splits across two columns.
## Sound #7fb24a
Mute On = wpctl set-mute @DEFAULT_AUDIO_SINK@ 1
Volume Up [Vol+] = wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 10%+
A program that needs a terminal opens in a new glass. launch decides on Enter: a menu entry (.desktop) that says Terminal=true or false settles it. Otherwise a script runs on its own, as does a program linked to a window system library. Everything else gets a glass.
launch reads the list that the bare shell keeps in ~/.bare_exe_cache, so it never walks the PATH itself. Without that file it looks through the PATH once.
The bar at the top shows the versions of frame and tile at its right end, read out of the two programs on the PATH (never run).
Type a sum the way rpnx takes it, numbers first and then what to do with them: 2 3 +, 1200 1.25 *, 2 sqrt, 45 sin.
The answer shows under the field as you type. Enter puts it on the clipboard (through xclip), ready to paste.
The rpnx engine works it out, so every rpnx command is at hand. A line counts as a sum when it starts with a number and has more to it.
launch --password "Master password"Opens a window, hides what you type, and prints it. The answer comes back through a pipe, so it never lands in a file. Nothing typed gives exit status 1.
launch --run Beam
launch --run gluonRuns a helper by its name, or else a program, the way Enter would: a program that needs a terminal opens in a glass. Nothing found gives exit status 1. Computer uses it to start what you ask for.
launch draws its first frame about 5 ms after it starts. Most of the wait is the terminal window opening. Between keys it does nothing at all.
cargo install --path .Public domain. Do what you like with it.