Your tools, and what a row can do
Look can find a project in two keystrokes, and then has exactly one thing to offer: show it to you in Finder. Your actual next move is almost always your editor, or a terminal in that directory, and until now that meant leaving Look.
Two halves of the same feature.
Every object gets an action panel. Cmd+K / Ctrl+K on the selected row lists what Look can do with it, and the list depends on what the row is: a file, a folder, an app, a System Setting, a URL, a clipboard entry, a row from one of your own sources. Most of those actions already existed as chords you either found in the help screen or never found at all, reveal, copy, copy path, trash, pick, hide an app. They are visible now, on the object they apply to.
And you can name the tools you already use. Four keys in ~/.look/config, all optional:
text_editor=nvim
code_editor=zed
terminal=ghostty
file_manager=nautilus
That unlocks the two actions that cannot exist without them, Cmd+E to edit and Cmd+T to open a terminal there, and overrides two that already worked.
What you declare is the tool, not a command. Not edit_command = ghostty -e nvim {path}, just the name. Look owns the rest: which terminals spell -e differently, which are driven with AppleScript rather than a CLI, and which editors are terminal tools needing a terminal wrapped around them. So text_editor=nvim plus Cmd+E on a file opens nvim inside your terminal, and there is no quoting of yours to get wrong. Commands with placeholders in them are what ~/.look/sources/ is for, which is the next section.
Editing uses text_editor on a file and code_editor on a folder, because a file is a thing to edit and a folder is a project to open. Declare one of the two and it serves both. Declare nothing at all and nothing changes anywhere: undeclared means the system default, exactly what Look does today. A tool Look cannot drive is shown as unavailable with the name it could not find, so a typo is on screen instead of a keypress that quietly does nothing.
Your own sources
Look indexes apps, files, and System Settings out of the box. Sources are how you add your own rows: your repos, your SSH hosts, your morning routine, your deploy script. They rank, preview, and act like every other row, and they keep their own usage history, so the one you pick every day rises on its own.
Example: opening a project in tmux, from a declared source.
No plugin to install, no API to learn. One directory, one file format, four keys to remember.
mkdir -p ~/.look/sources
$EDITOR ~/.look/sources/mine.toml
[projects]
name = "Projects"
dir = "~/dev"
only = "dirs"
[work]
name = "Work setup"
do = [
"open -a Slack",
"open -a Safari https://github.com",
]
Reload with Cmd+Shift+; (Ctrl+Shift+; on Linux and Windows), type projects, and your repos are there. Type work setup and one Enter opens both apps. Edit, reload, type: nothing to restart, nothing to register.
Put as many .toml files in the directory as you like. Look reads every one of them and merges them, so you can split by topic (work.toml, git.toml, ssh.toml) and delete a file when you are done with it. LOOK_SOURCES_DIR repoints the whole directory if your dotfiles live in a repo.
Four kinds of block
Every [header] is one block, and it declares exactly one producer key. That is the only decision to make.
| Producer |
What it makes |
Use it for |
do |
one row, and Enter performs its steps |
routines, bundles, a command you run often |
dir |
one row per child of a directory |
projects, notes, screenshots, anything already on disk |
file |
one row per line of a text file |
a list you keep by hand: SSH hosts, bookmarks |
run |
one row per line a command prints |
anything that changes: branches, containers, tickets |
dir rows stay real files and folders, so preview, reveal, copy, and the usual file verbs keep working on them.
Actions and drill-downs
then lists other blocks a picked row can reach, opened with Cmd+K / Ctrl+K (Cmd+J too). The target's own producer decides what happens, so there is no mode to declare: a target that performs steps is an action on the selected row, and a target that produces rows is a drill-down you descend into, five levels deep, with Esc walking back.
[projects]
name = "Projects"
dir = "~/dev"
only = "dirs"
then = ["branches", "deploy"]
What else a block can say
- Placeholders in every declared command (
{id}, {title}, {path}, {dir}, {query}, {parent.*}), escaped for whichever shell will actually read them, plus LOOK_ID / LOOK_TITLE / LOOK_PATH in the environment.
- Per-block verbs.
open, edit, terminal, reveal override your global preferred tools for that block's rows only.
preview, a command whose output fills the right panel for the selected row.
confirm, a question asked before a destructive block acts.
format = "json" for the two fields tab-separated lines cannot carry: a real path, and a per-row icon. Plain id<TAB>title<TAB>subtitle still works.
aliases, bias, icon, enabled. Unknown keys are reported, never fatal.
Commands are shell text run by your login shell (cmd on Windows), so your own scripts are first-class in any language with a shebang. An executable dropped straight into ~/.look/sources/ needs no declaration at all: it is a run block.
It stays out of the way
run rows refresh on reload and are cached in ~/.look/cache/rows/, so a command that fails keeps its last good rows and their ranking instead of emptying the list. Blocks are capped at 2,000 rows, a command at 5s (30s if it asks) and 256 KB of output, and one reload at 60s of command time in total, so a bad source slows itself down rather than the launcher. Errors go to stderr one line per problem, prefixed look sources:.
Same engine on macOS, Linux, and Windows: same directory, same format, same parser.
Full guide: Declaring your own sources, every key, every placeholder, limits, troubleshooting, and recipes.
Ready-made ones: lookbook, one folder per tool. Copy a file into ~/.look/sources/, reload, done. Also the place to share one you wrote.
Config moved into ~/.look/
Sources need a folder, so Look now keeps one: the config file is ~/.look/config. A legacy ~/.look.config is copied across the first time and left behind with a note at the top of it saying where it went, so there is nothing to do by hand. LOOK_CONFIG_PATH still overrides everything.
Also new
- Lower memory on macOS. The QuickLook thumbnail and highlighted-text caches are now capped by estimated bytes (48 MB and 16 MB) rather than entry count, and both are purged when the launcher hides. Launchpad tile timers are gated on activation, so a hidden window no longer wakes the main thread ~23 times a minute forever. The Rust index watcher lost its one-second poll. Resident footprint measures ~81 MB.
- Wayland layer-shell for the launcher window on Linux, with a fallback where the compositor does not offer it. Better positioning, focus, and fullscreen behaviour, on niri in particular.
- NixOS and Home Manager notes in
BUILDING.md. Thanks @Teamofeyy.
Fixes
- Behind-window blur is back on macOS. Liquid Glass had introduced a SwiftUI opacity below 1, which forces an offscreen render pass and collapses the material into a flat wash.
- Blur no longer resets to 50 when you press Save Config
- A slow connection no longer lets an AI answer replace the weather, currency, and other web answers
- Shortcut handling on Sway, Hyprland, and niri, including a rebind firing twice
- Removed a conflicting Settings shortcut on macOS. Thanks @mingxn
Tab and Shift+Tab in Settings moved focus the wrong way. Thanks @dont-wait
- A long source preview no longer breaks the command view (capped at two lines)
- Action panel hint keys are right-aligned, and the default inner gap is 7
Thanks
- @mingxn - first contribution (conflicting Settings shortcut)
- @dont-wait - Settings tab order
- @Teamofeyy - NixOS and Home Manager build notes
What's Changed
New Contributors
Full Changelog: https://github.com/kunkka19xx/look/compare/v0.6.11...v0.6.12