Look - Keyboard-First Launcher#

Look Github Repository · Discord community

Look is a keyboard-first, local-first launcher for macOS, Windows, and Linux. It gives you instant access to apps, files, folders, and system settings without leaving the keyboard.

Try it live#

Type in the launcher below - fuzzy search, inline calc, URLs, and the a"/f"/d"/r"/rc"/ps"/c"/t" prefixes all work, right in your browser, on canned sample data. Press Cmd/Ctrl+K for a result's action menu, Cmd/Ctrl+H for help, Cmd/Ctrl+/ for command mode or Cmd/Ctrl+Shift+, for Appearance settings. This is a simplified offline playground; the real Look is faster and does more. Open the full-screen demo for more room.

The live demo needs a bigger screen and a keyboard. Open this page on a desktop to try it.

Why Look?#

If you're tired of slow launchers or expensive tools like Raycast, Look is a free, lightweight alternative that stays out of your way.

  • Local-first - all indexing happens on your machine
  • Fast - typical search under 1 ms on a 2000-item index, with bounded query-time scoring
  • Usage-aware - results improve as you use them
  • Minimal permissions - no Accessibility, Full Disk Access, or Screen Recording
  • Private - no account, no telemetry; network only on explicit or opt-out actions
  • Native shells - SwiftUI on macOS, a GPU-drawn gpui shell on Windows/Linux with no browser engine in the process, both over one Rust engine

Highlights#

  • Scoped search - a" apps, f" files, d" folders, r" regex, rc" recent, c" clipboard, t"/tw" translate
  • Inline calculator - type 2^10, 4!, 200*15%, sqrt(2); no mode switch
  • Web answers (optional) - an answer card for questions and unindexed entities, plus search suggestions
  • Command mode - pomodoro, daily todo with streaks, speed test, port-based kill, shell, system info
  • Super actions - Bluetooth, Wi-Fi, battery, theme, and more from the empty home screen
  • Your own rows - declare sources in TOML, install ready-made ones from lookbook in Settings → Extend, or let an app push its own through a connector
  • AI conversation (macOS, beta) - > for calendar actions, file recall, and text operations on a local model
  • Themeable - 8 presets including Kindle (light) and Liquid (glass), plus floating tile layout
  • Your keys - every in-app chord is rebindable in Settings → Shortcuts and saved to the config file, so it travels with your dotfiles

Where to go next#

PageWhat's there
InstallationInstall, first launch, uninstall
Getting StartedBasic usage, query prefixes, quick math
Keyboard ShortcutsEvery key, in one place
Search ModesWhat the main input does beyond apps and files
Result ActionsWhat you can do to the selected row
Home ScreenRunning apps and the super-actions strip
Command Mode/calc, /todo, /speed and the rest
AIThe > conversation mode (macOS, beta)
Declared SourcesAdd your own rows from folders, files and commands, or install them from lookbook
Settings PanelThe in-app settings, tab by tab
ConfigurationEvery ~/.look/config key
TroubleshootingWhen something doesn't work
ConnectorsThe contract for an app that pushes its own rows

Installation#

macOS#

Requirements: macOS 15.0+

bash
brew install --cask look

Look listens on Cmd+Space from the first launch, a key Spotlight also holds - free it in System Settings → Keyboard → Keyboard Shortcuts... → Spotlight. To keep Spotlight where it is, record a different key in Settings → Shortcuts, or set launcher_hotkey in ~/.look/config. Settings are a panel inside the launcher, on Cmd+,.

Spotlight

Update:

bash
brew upgrade --cask look

Releases ship one build per architecture, Apple Silicon and Intel, and Homebrew installs the one that matches your Mac. So does the curl installer below.

Other macOS install options (curl, pin version)
bash
curl -fsSL https://raw.githubusercontent.com/kunkka19xx/look/main/scripts/install-look.sh | bash

Pin a version or fork:

bash
curl -fsSL https://raw.githubusercontent.com/kunkka19xx/look/main/scripts/install-look.sh | bash -s -- --version <version> --repo kunkka19xx/look

Nix (flake), Apple Silicon:

bash
nix profile install 'github:kunkka19xx/look'

The same signed, notarized bundle Homebrew ships, so the Accessibility and Automation grants survive an update. nix-darwin and Home Manager modules: see BUILDING.md.

Linux#

Arch Linux (AUR):

bash
yay -S look-bin
# or
paru -S look-bin

Or without an AUR helper:

bash
git clone https://aur.archlinux.org/look-bin.git
cd look-bin
makepkg -si

Ubuntu/Debian:

bash
curl -fsSL https://raw.githubusercontent.com/kunkka19xx/look/main/scripts/linux/install-look.sh | bash

Or download the .deb manually from Releases and run sudo dpkg -i Look_*.deb.

Any distro (AppImage):

bash
chmod +x Look_*.AppImage
./Look_*.AppImage

NixOS (flake):

bash
nix run github:kunkka19xx/look
# or install to profile
nix profile install github:kunkka19xx/look

Pre-built binaries are served via Cachix. Look is also in nixpkgs as lookapp, but a bump there waits on a nixpkgs maintainer, so that package lags releases; install from the flake instead. For declarative NixOS install and the Home Manager module, see the README.

Released Linux artifacts are x86_64 only; open an issue if you need an ARM build. On GNOME the bundled Shell extension supports GNOME 45 to 51.

Windows#

One PowerShell line, no admin required:

powershell
iex "& { $(irm https://raw.githubusercontent.com/kunkka19xx/look/main/scripts/windows/install-look.ps1) }"

Or with Scoop:

powershell
scoop bucket add extras
scoop install extras/look

The script resolves the latest release, downloads the installer, verifies its SHA256 against the published checksums, and installs per user into %LOCALAPPDATA%\Programs\Look with a Start Menu shortcut. For a manual install, download Look_<version>_x64-setup.exe from Releases. Released builds are x64; Windows on ARM runs them under emulation.

SmartScreen may warn on first run - click "More info → Run anyway". The launcher's global hotkey defaults to Alt+Space; record a different one in Settings → Shortcuts, or set launcher_hotkey in ~/.look/config and reload with Ctrl+Shift+;.

First Launch#

After installing, launch with lookapp from a terminal, or search "Look" in your app launcher / Start menu. On first run, Look indexes your apps, files, and folders in the background - results appear as indexing completes.

PlatformToggle hotkeyNotes
macOSCmd+SpaceDisable Spotlight's shortcut first
Windows / LinuxAlt+SpaceAutostarts on login (on full DEs like GNOME/KDE)

Both defaults are rebindable - see `launcher_hotkey`.

Window manager users (i3, sway, Hyprland, niri): Autostart via .desktop files only works on full desktop environments, so add Look to your WM config manually. On i3, sway, and Hyprland the Alt+Space hotkey and float rules register themselves at runtime, so the autostart line is all you need. niri has no runtime bind API, so its Alt+Space goes in config.kdl by hand; Look shows the exact stanza on first run. See the README for examples.

GNOME desktops: Log out and log back in after the first install so the GNOME Shell extension (for window focusing on Wayland) can load.

Uninstall#

bash
# macOS
brew uninstall --cask look

# Arch
yay -R look-bin

# Ubuntu/Debian
sudo dpkg -r lookapp

# Windows (installer script)
iex "& { $(irm https://raw.githubusercontent.com/kunkka19xx/look/main/scripts/windows/install-look.ps1) } -Uninstall"

# Windows (Scoop)
scoop uninstall look

Remove local state (optional):

bash
# macOS
rm -rf ~/.look ~/Library/Application\ Support/look && rm -f ~/.look.config

# Linux
rm -rf ~/.look ~/.local/share/look && rm -f ~/.look.config

# Windows
Remove-Item -Recurse "$env:LOCALAPPDATA\look"

If you moved anything with LOOK_CONFIG_PATH, LOOK_SOURCES_DIR, LOOK_CONNECTORS_DIR or LOOK_ROWS_CACHE_DIR, remove those paths too.

Permissions#

Look is designed to need as few permissions as possible:

  • No Accessibility permission required (macOS)
  • No Full Disk Access required - Look indexes standard user directories. Add extras via file_scan_extra_roots in ~/.look/config.
  • No Screen Recording required (macOS)
  • Network access is used only for explicit actions (t" translation, tw" dictionary lookup, Cmd/Ctrl+Enter web search) and the optional web answers feature, which you can turn off with ai_enabled=false
  • Finder Automation (macOS) is asked for only when you empty the Trash with Cmd+D. Moving files to the Trash needs nothing.
  • Calendar, Reminders, Contacts (macOS) are asked for the first time an AI feature needs one. Settings → AI → Permissions lists them.

Getting Started#

Basic Usage#

  1. Open Look - Cmd+Space (macOS) or Alt+Space (Windows/Linux)
  2. Type to search - apps, files, folders, and settings
  3. Navigate - Tab/Shift+Tab or arrow keys
  4. Open - Enter

Path-like queries work too: git/project/readme biases toward path matches.

Look on the desktop, searching for Ghostty

Query Prefixes#

Prefixes narrow the search scope. Type a single " to browse them all in a menu, then pick one to drop it into the field.

PrefixModeExample
"Browse all prefixes"
a"Apps onlya"term
f"Files onlyf"term
d"Folders onlyd"term
r"Regex search (case-insensitive)r"pattern
rc"Recent files/foldersrc"report
ps"Find and kill running processesps"node
c"Clipboard historyc"term
ci"Copied imagesci"1920
t"Quick translationt"hello
tw"Dictionary lookuptw"word
>AI conversation (macOS, beta)>add lunch @ 1pm

Each one is detailed under Search Modes, and > has its own AI page.

Prefix menu#

Prefix menu

Apps only#

Apps only

Files only#

Files only

Directories only#

Directories only

Quick Math#

Type an expression and Look pins a Calculator row above the results. Enter copies the value and hides the launcher.

  • 2^10 → 1,024
  • 200*15% → 30
  • sqrt(2) → 1.4142135624

Dates and resolutions (20-05-2026, 1920x1080) stay ordinary searches. Full grammar under Inline Calculator.

Ask a Question#

With web answers on (the default), a question or an unindexed entity like sir alex ferguson shows an inline answer card. Prefix queries never trigger web lookups. See Web Answers.

Query Aliases#

Map a search term to related apps, e.g. alias_note=Notion|Obsidian|Apple Notes. Syntax under Search Aliases.

Search Modes#

What the main input does beyond app and file search. Prefixes are typed at the start of the query.

Quick Folders#

Type a folder's name to pin it to the top of results (Enter opens it, Cmd+F reveals it) - even when it isn't part of the indexed file roots:

  • Home folders - Desktop, Documents, Downloads, Pictures, Movies, Music.
  • `Applications` - pins the /Applications folder (macOS). The indexer only walks Desktop/Documents/Downloads, so this is how you jump to /Applications; the apps inside it stay searchable as apps (a").
  • `Trash` - pins the Trash; Cmd+D on it empties the Trash (see Move to Trash above). Its icon reads empty or full to match the item count (macOS).

Open a URL#

Type something that looks like a URL and Look offers to open it in your browser - no prefix needed.

  • A structural URL (with a scheme, port, path, or localhost/IP - e.g. http://localhost:3000 or example.com/docs) shows an Open in browser row at the top of the results.
  • A bare host.tld (e.g. github.com) shows the row after your local results, so it never displaces a real file or app match.
  • A decimal like 3.14 is never a URL, and a shorthand address like 127.1 needs a port or scheme to count as one (127.1:8080). A full IP address such as 192.168.1.1 is.
  • URLs you open this way are remembered and resurface as Recently opened rows, ranked by frecency and filtered as you type.

Shared between the macOS and Windows/Linux apps.

Open a URL

Recent Files & Folders (`rc"`)#

Type rc" to browse what you most recently opened and what recently landed on disk (downloads, screenshots), newest first. Add a term to filter: rc"report.

  • Enter opens an entry, Cmd/Ctrl+F reveals it
  • Cmd/Ctrl+D moves the entry's file to trash
Recent files and folders

Running Processes (`ps"`)#

Type ps" to list running processes, or ps"node to filter them.

  • Enter measures that process's CPU on demand. Nothing is sampled until you ask, so moving the selection stays instant
  • Cmd/Ctrl+D kills the selected process
  • Cmd/Ctrl+C copies its PID

Typing filters a cached snapshot rather than walking the process table again; the list re-enumerates when you enter the mode and after a kill. To target whatever owns a port instead of a named process, use `kill`.

Process list with details#

Running processes

Clipboard History (`c"`)#

Access recently copied text items:

  • Type c" to enter clipboard mode
  • Browse recent text clips
  • Press Enter to copy an item back to clipboard
  • Press Cmd/Ctrl+I to paste it straight into the app you came from - the clip stays on the clipboard afterwards
  • Press Delete or Cmd/Ctrl+D to remove the selected entry from history

On macOS the history is kept in memory and clears on restart; on Windows/Linux it is saved to disk and persists between launches. File and folder copies (Cmd+C, Cmd+P) are never recorded.

Size is clipboard_history_limit in Configuration.

Clipboard histories search example#

Clipboard history

Copied Images (`ci"`)#

A separate history for pictures, since text and images do not mix in one list:

  • Type ci" to list copied images, newest first
  • Add a term to filter by what the row says, for example ci"1920 or ci"9/14
  • Press Enter to put the image back on the clipboard, as pixels and as a file
  • Press Cmd/Ctrl+I to paste it into the app you came from
  • Press Delete or Cmd/Ctrl+D to remove it from history, which also deletes its file

Each image is written as a PNG next to Look's database, the row shows a thumbnail of it, and the row is named after the app the copy came from: Image from Firefox, 9/12/26, 11:28. macOS also files an image copied in Finder under its filename; on Windows and Linux the history takes the pixels a copy carries (screenshots, "Copy Image" in a browser), and a file copied in a file manager stays a file copy.

On GNOME and KDE Wayland nothing tells Look which window was in front, so rows there read Image from screen instead of naming the app.

Size is clipboard_image_limit in Configuration, capped well below the text history because each entry is a file on disk.

Copied images

Pasting into the app you came from#

Cmd/Ctrl+I types the paste for you instead of leaving it on the clipboard. On macOS it needs Look enabled under System Settings → Privacy & Security → Accessibility, and it cannot reach a secure input field (a password prompt, sudo in a terminal) - Look says so rather than pasting nothing. On Linux it sends Ctrl+Shift+V when the app you came from is a terminal, since Ctrl+V there is the literal-next key; GNOME needs Look's shell extension, which it installs itself. Where a Wayland session offers no way to type into another window, Look says so and leaves the clip copied for you to paste by hand.

Translation (`t"` / `tw"`)#

Quick translation without leaving the launcher:

  • t"hello → Translate "hello", one section per target language (Vietnamese, English and Japanese by default)
  • tw"word → Dictionary lookup with definitions and examples

Pick up to three targets with translate_languages in Configuration, e.g. translate_languages=de,en,fr. Open in Browser opens the web translator for the first of them.

Translate sentences, words via web#

Translation

Translation requires network connectivity. Google Translate answers first; when it throttles your address, MyMemory steps in, free but capped at about 5,000 characters per day per IP address, shared across every target language. A text longer than about 1,600 characters is more than that fallback takes, so while Google is throttling you the sections ask for a shorter selection. Repeating a query in the same session costs nothing, since the result is kept.

Inline Calculator#

Type an expression in the main input and Look pins a Calculator row above every other result. No prefix, no mode switch.

  • Enter or a click copies the value, hides the launcher, and leaves you in the app you came from, ready to paste.
  • Clipboard history keeps the worked expression (2+2 = 4) so you can find it again later, but pasting still gives you just the value.
  • Shape decides what counts as math, not spacing, so a date, a resolution, or a ratio (20-05-2026, 1920x1080, 16:9) is left alone and stays a normal search.

Grammar: exponent (^), factorial (!), constants pi/e, functions sqrt/abs/round/floor/ceil, % as both percent shorthand and modulo, implicit multiplication (2pi, 3sqrt(9)), comma-grouped or scientific input (1,500, 1e6), and the typographic operators and fractions a pasted expression carries (3 × 4, 10 ÷ 2, 5 − 1, 1½ + ¼).

  • 2^10 → 1,024
  • 4! → 24
  • 200*15% → 30
  • 10%3 → 1
  • 2*pi → 6.2831853072
  • 1,500 + 1 → 1,501
  • 1½ * 2 → 3

The same shared engine backs the calc command panel. Results are limited only by what a 64-bit float can represent.

Inline calculator

Web Answers (optional)#

With web answers enabled (default), Look answers question-like queries inline:

  • Knowledge lookups: a question or a multi-word entity that isn't indexed locally (e.g. sir alex ferguson) shows an answer card sourced from DuckDuckGo/Wikipedia, with clickable source labels.
  • Instant converters: currency (100 usd to eur), weather, and crypto queries match their own narrow grammar and answer immediately.
  • Not arithmetic: math no longer answers in the card. It gets its own pinned Calculator row above the results (see Inline Calculator).
  • Web search suggestions: autocomplete rows appear below local results; Enter opens the suggestion in your browser, on the engine set by `web_search_engine`.
  • Layout: the answer card renders full-width when there are no local results, side-by-side with suggestions, or stacked above local results, depending on what the query returns.
  • On macOS, Look can additionally fall back to the on-device Apple Intelligence model when local and web sources have no answer. Linux/Windows use web sources only.
Web answer card

The > conversation mode, calendar and reminder actions, file recall, and text operations are a separate macOS-only feature set with its own page: see AI.

Privacy notes:

  • Prefix queries (a", f", d", r", ps", c", ci", rc", t", tw", :cmd) never trigger web lookups - they are launcher scopes, not questions.
  • Turn the whole feature off in Settings → Advanced, or set ai_enabled=false in ~/.look/config to run fully offline.

Result Actions#

Actions on the currently selected result.

Action Menu (`Cmd/Ctrl+K`)#

Every action the selected row offers, each listed with its chord. This is the discovery surface: the menu teaches the shortcuts and then gets out of the way.

EntryChordNotes
OpenEnterThe system default action
EditCmd/Ctrl+ENeeds a preferred editor
Open terminal hereCmd/Ctrl+TNeeds a preferred terminal
RevealCmd/Ctrl+FFile manager
Copy pathCmd/Ctrl+CThe path as text

Once a tool resolves, the entry names it: Edit reads Edit in Zed, so the menu tells you what the chord is about to open. An action with no tool declared is still listed and explains what to set when you press it, rather than silently doing nothing.

Cmd+J / Cmd+K or the arrows move, Enter runs, Esc closes.

Action menu

A row from a declared source whose block names then targets shows those instead - the block author already chose that row's vocabulary. The chords above keep working on it either way.

Any of your own do blocks that declared `applies` join the menu here too, after the built-in entries, on every row they match.

Edit (`Cmd/Ctrl+E`)#

Open the selected file or folder in your own editor.

  • On a file row, text_editor; on a folder row, code_editor. Declare only one and it covers both.
  • A terminal editor (nvim, helix, micro, …) is run inside your declared terminal, at the right path.
  • Apps are not eligible - see Preferred Tools for why, and for the keys themselves.

Open Terminal Here (`Cmd/Ctrl+T`)#

Open your declared terminal at the selected row's directory: the folder itself for a folder, the parent for a file. The new window starts in an interactive login shell, so closing it closes the window once.

Copy File or Folder (`Cmd/Ctrl+C`)#

With a file or folder selected, press Cmd+C (macOS) or Ctrl+C (Windows/Linux) to copy it to the clipboard.

  • Paste into a file manager, Mail, Slack, or any app that accepts files → pastes the actual file/folder
  • Paste into a text editor or terminal → pastes the path as a string
  • Works on results of kind file and folder; apps use Enter or Cmd/Ctrl+F instead

Multi-Pick Files/Folders (`Cmd/Ctrl+P`)#

Build up a set of files/folders, then paste or open them anywhere in one go.

  • Cmd+P on a focused file or folder toggles it in or out of the picked set; every toggle rewrites the system pasteboard with all picked items.
  • Picked items show as pills above the results, each with an X to remove it, followed by Open all and Clear. The preview stays on the right, so you can keep previewing while you pick, and Compact layout shows the same pills.
  • Shift+Enter (or Open all) opens every picked item at once and empties the set.
  • Cmd+Shift+P (or Clear) clears the entire picked set and the pasteboard.
  • Picks survive hiding and reopening Look until you clear or open them.
  • Paste behavior matches Cmd+C - into Finder/Mail/etc. you get the actual files; into a text field you get the paths.
  • Cmd/Ctrl+I pastes the whole set into the app you came from, without leaving Look's keyboard.

Paste Into the App You Came From (`Cmd/Ctrl+I`)#

Hands the selected file or folder, or every picked item when there are picks, straight to the app you were in before Look: a file manager or a chat app gets the items, a text field or terminal gets the paths. It is the same chord, with the same permissions and limits, as pasting a clip from c".

Move to Trash (`Cmd/Ctrl+D`)#

Delete files without leaving the launcher:

  • Cmd+D moves the selected file/folder (or the whole picked set, if any) to the system trash and refreshes the index.
  • With the Trash quick-folder selected, Cmd+D offers to empty the trash instead (with a confirmation showing the item count).

Preview Pane#

The right column previews the selected row in the Split layout:

  • Text and code files are syntax highlighted.
  • Markdown files are drawn as headings, lists, links and fenced code rather than shown as source, with any YAML front matter left out.
  • Images show the picture, and folders list their immediate children, folders first, capped at 30, click to open.
  • A row from a declared source shows what its block's preview command prints, which can be text or a layout, and a connector's row shows what the connector answers.

Hide an App (`Cmd/Ctrl+Shift+H`)#

With an app result selected, press Cmd+Shift+H (macOS) or Ctrl+Shift+H (Windows/Linux) to hide it from Look so it stops appearing in results - handy for apps you never launch from the launcher.

Run as Administrator (`Ctrl+Shift+Enter`, Windows)#

On Windows, press Ctrl+Shift+Enter on a selected app to launch it elevated; Windows shows the standard UAC prompt. The preview panel shows the shortcut on apps that support it.

Home Screen#

What fills the launcher before you type anything.

Running Apps Switcher#

Available on macOS, Linux, and Windows. Modifier is Cmd on macOS and Alt on Linux/Windows.

When enabled, running-app icons fill the right half of the search bar (the search field takes the left half), right-aligned and growing leftward as more apps open. Each icon has a corner number badge; press Cmd/Alt+the badge digit on the home screen to activate that app. The launcher window stays the same size whether the row is shown or hidden.

  • Stable order - icons sit in alphabetical order and don't shuffle when you switch apps. The badge digit for "Discord" stays the same until you launch or quit something.
  • Ergonomic badge keys - keys are assigned from 1, 2, 3, 9, 8, 4, 7, 6, 5 in that order, then sorted ascending for display, so the awkward middle keys only show up once you have many apps open. With 5 running apps the badges are 1, 2, 3, 8, 9.
  • Windowless apps (macOS only - Finder with no Finder windows, App Store, etc.) get a fresh window via a Dock-style "reopen" instead of an empty flash. Hidden apps (Cmd+H) are unhidden first. On Linux/Windows the switcher only lists apps that currently own a visible window, so this case doesn't arise.
  • Linux compositor support - focus dispatches via X11 _NET_ACTIVE_WINDOW (GNOME/KDE/i3), i3-msg (i3), swaymsg + wlr-foreign-toplevel (sway/wlroots), hyprctl (Hyprland), niri's own IPC socket (which also scrolls the view to the window's workspace), a KWin script on KDE, and a bundled GNOME Shell extension on GNOME Wayland.
  • Show/hide via Settings → Appearance → Search Bar, which also offers the alternatives below.
  • In command mode, the digit shortcuts switch command panels instead (see Command Mode); the running-apps switcher only fires on the home screen. Suspended modes (translate, command) also ignore the digit keys so the hidden strip can't fire from a stale cache.

Other Things the Bar Can Hold#

Settings → Appearance → Search Bar picks what sits at the right end of the bar:

  • Running Apps - the switcher above.
  • Pinned Apps - up to nine apps you chose, with the same badges and digits. Pin one from its row's action menu (Cmd/Ctrl+K → Pin to bar, then Unpin from bar). Opening a pin focuses the app if it is already running.
  • Today's Task - one of today's unfinished tasks with the day's count (1/3). Click it to open todo.
  • Script - the first line a command of yours prints, set with bar_script.
  • Nothing - the search field takes the whole bar.

Keys in Configuration.

Super Actions#

On the empty home screen (no query typed), Look can show a strip of system toggles, one-shot actions, and read-only info tiles - a fast way to flip Bluetooth or Wi-Fi, switch theme, or check the battery without opening system settings. It is off by default since 0.7.2.

Super Actions strip on the home screen
  • Tiles come from a shared catalog, so macOS, Windows, and Linux render the same strip; only the native control paths differ. On Linux the strip works across GNOME, KDE, and tiling WMs including i3.
  • Tiles: an L slot (active Pomodoro session > remaining todos > clock), Bluetooth, Wi-Fi, Battery, Theme, Keep Awake, Screensaver, Weather, Mic, Restart, Shut Down, and Now Playing.
  • Activate a tile by clicking it, or press the platform modifier plus its highlighted letter - Cmd on macOS, Alt on Windows/Linux (e.g. Cmd/Alt+B for Bluetooth, P for Now Playing play/pause).
  • Restart and Shut Down arm on the first press and fire on the second; Esc or a timeout cancels.
  • Battery, Weather, and the L slot are read-only. Battery shows a charging icon while the machine is plugged in, and falls back to system uptime on a desktop with no battery.
  • Toggle the whole strip via Settings → Appearance → Super Actions. Persisted as super_actions_enabled in ~/.look/config.
  • With a background image set, each tile shows the slice of it behind its own area under a frosted overlay, so the bar and the strip read as one picture (macOS).

Which tiles are on the strip, and where, is not a setting. It is a drawing in ~/.look/super-actions.toml.

Arranging the Strip#

Look writes ~/.look/super-actions.toml on first run with the default layout, so the file is its own reference. Open it and the format explains itself.

Ready-made tiles to paste in: lookbook's `tiles/`.

It is a drawing of the screen: each line is a row, each name is one cell.

toml
layout = [
    "lslot       lslot       bluetooth   wifi        battery     weather",
    "lslot       lslot       theme       keepawake   screensaver weather",
    "mic         restart     shutdown    nowplaying  nowplaying  nowplaying",
]

Four edits, one mechanism:

  • Hide a tile by deleting its name. Nothing closes up behind it - you get a gap where it was, because you removed it.
  • Move one by putting its name somewhere else.
  • Resize one by repeating its name across more cells. weather above stands two rows tall because it appears in both. A tile's cells must form a rectangle.
  • Leave a gap on purpose with ..

The names are the tile ids: lslot, bluetooth, wifi, battery, theme, keepawake, screensaver, weather, mic, restart, shutdown, nowplaying. The seeded file lists them with what each one does.

Three tiles need room to say anything, so they have a floor, in columns x rows: the big left slot 2x2, weather 1x2, nowplaying 2x1. Every other tile fits in one cell. Drawn smaller, a tile would be clipped rather than shrunk, so Look leaves it out and says which one.

There is no row or column count to declare - the drawing is the count. Every row needs the same number of names, up to five rows and six columns.

A letter belongs to its tile, so a tile you take off the strip takes its Cmd/Alt shortcut with it.

Reload with Cmd+Shift+; (macOS) or Ctrl+Shift+; (Linux, Windows) to arrange the strip while looking at it. Delete the file to go back to the default.

If the drawing is wrong, Look says so in the window rather than failing quietly: a problem with one tile drops that tile and keeps the rest, and a problem with the file's structure - a row with the wrong number of names, or TOML it cannot read - falls back to the whole default layout. The strip is never empty and never silent about why.

Tiles of Your Own#

A tile of your own is a name in the drawing plus an entry below it. It is declared whole in this one file and needs no source at all.

toml
layout = [
    "lslot   lslot   disk    weather",
    "lslot   lslot   lock    weather",
]

[tiles.disk]
value   = '''printf '{"value":"%s","caption":"DISK FREE","icon":"internaldrive","lines":["of %s"]}' "$(df -h / | awk 'NR==2 {print $4}')" "$(df -h / | awk 'NR==2 {print $2}')"'''
refresh = "5m"

[tiles.lock]
press    = "pmset displaysleepnow"
title    = "Lock"
confirm  = "Lock the screen?"
icon     = "lock.fill"
mnemonic = "L"

`value` prints one JSON object. Only value is required, so a shell one-liner is a whole tile:

json
{"value": "84Gi"}

A tile drawn bigger than one cell can say as much as Weather does:

json
{"value": "84Gi", "caption": "DISK FREE", "lines": ["of 460Gi"], "icon": "internaldrive", "state": "off"}

Printing nothing hides the tile - that is how a "next meeting" tile disappears on a day with no meetings.

`press` is what a click or the tile's key runs. A tile with press and no value is a button: it shows its name and runs nothing until you press it. A tile with value and no press is a readout. confirm arms the tile on the first press and fires on the second, the way Restart and Shut Down do. mnemonic asks for a letter: it fires with Cmd on macOS and Alt elsewhere, a letter already taken by a tile on the screen is not given away, and a tile that misses out still works by click.

`icon` names the symbol drawn on the tile. On macOS it is an SF Symbol (lock.fill, internaldrive, calendar). On Linux it is either one of the strip's own glyphs - bluetooth, wifi, theme, keepawake, battery, screensaver, mic, restart, shutdown - or a path to an image of your own (icon = "~/.look/icons/nixos.svg", up to 256 KB, drawn as a mask so it takes the tile's colour). Windows draws from the built-in names only. An unrecognised name draws nothing rather than a placeholder. An icon in the printed JSON beats the one in the file, since that one can change with what was read.

`control` puts a switch an app supplies on the strip. An app with a connector can declare a control on one of its blocks; naming it here decides where it sits. It stands in for both value and press, since the app answers both, so a tile with all three warns and runs neither command:

toml
[tiles.lamp]
title    = "Lamp"
control  = "myapp.records#lamp"
mnemonic = "A"

The name is <block>#<control>, exactly as the app's manifest wrote it. The tile shows the state the app reports, lights up when it is on, and presses it with a click or its key. If the app is not running, the tile says so and keeps its last reading.

Keep the command light. value runs unattended, so it is capped at two seconds and 16 KB of output; past that it is killed along with anything it started. Within a tile's refresh window nothing runs at all, so most opens cost nothing. Anything that needs to fetch, build, or wait belongs behind press, or in a script that caches to a file the tile just reads. A tile that fails says so and keeps its last good reading - one broken tile never blanks the strip.

Command Mode#

Two ways in:

  • Cmd/Ctrl+/ enters command mode and resumes the last command panel you visited (defaults to calc on first run); use Tab or Cmd+1..Cmd+7 to switch.
  • From the home screen, type : followed by a known command id:
    • :calc 2+2 - the space after the command id is the live trigger; you switch with 2+2 already typed and can keep typing without pressing Enter.
    • :calc then Enter - switch with empty input.
    • The : shortcut only triggers when the word right after it is an exact known command id (calc, pomo, todo, speed, kill, shell, sys); anything else (:foo, :Users/me/...) stays in normal search.
    • :kill chrome and :shell ... switch into command mode but never auto-execute - the existing kill confirmation and shell input gate still apply.

Built-in quick commands:

CommandDescription
calcCalculator
pomoPomodoro focus timer
todoDaily tasks & progress
speedInternet speed test
killForce quit app or port owner
shellExecute shell commands
sysSystem information

Jump keys are in Keyboard Shortcuts.

calc#

The full grammar from Inline Calculator, in a dedicated panel.

Inside /calc the aliases x, : and a leading v are honored wherever they land, as multiply, divide, and sqrt:

  • 1920x1080 → 2,073,600
  • 16:9 → 1.7777777778
  • v 16 → 4 (the v alias needs a separator or parentheses: v(16) also works)

Those same strings stay ordinary searches in the main input, where shape gating leaves resolutions and ratios alone.

pomo#

A pomodoro focus timer that lives inside command mode.

  • Editable session list - plan a sequence of focus + break blocks, each with its own duration and name (e.g. Deep Work 30m → Short Break 5m → Review 30m → Long Break 15m). The timer auto-advances through the list and loops the music folder while a session runs.
  • Three timer styles (switchable via the gear icon): Modern Ring, Vintage Dial, Minimal Text.
  • Background music: pick any folder of audio files (mp3, m4a, wav, aac, flac, ogg, aiff, alac). Tracks are streamed one at a time (no full-folder load), shuffled per launch, and looped at the end of the list.
  • Standby fade - after 5s of no input the panel collapses to clock-only (the sidebar hides too); any key/mouse input restores it.
  • "Ending soon" alert - at 10s remaining, a chime + a popover from the menu-bar timer (and a system notification, if granted) fires once per session.
  • Menu-bar mini-timer - visible whenever a session is active, even when the launcher window is hidden. Click it to jump straight back into /pomo.
  • Keyboard: Space start/pause • R reset • P toggle music play/pause.
  • Persistence: the session list, selected timer style, and music folder path are saved to ~/.look/config and survive restarts.

todo#

A daily task tracker (:todo or Cmd/Ctrl+3).

  • Day-grouped tasks - tasks live under their date; overdue days get a badge, and a done-today stat sits in the footer.
  • Stats page - streak counter, 30-day trend chart, and a year heatmap of completed tasks.
  • Keyboard: Cmd/Ctrl+N switches between Tasks and Stats, Cmd/Ctrl+S saves, Enter/Escape confirm or cancel an edit. Double-click a task to edit it.
  • Daily limit - 3 unfinished tasks per day; todo_task_limit in ~/.look/config sets it from 1 to 20.
  • Undo/redo: Cmd/Ctrl+Z walks back through task changes, deleting one task or clearing a day included, and Cmd/Ctrl+Shift+Z replays them. The last 50 changes are kept whether saved or not, so undoing past a Save marks the panel unsaved again and a second Save writes the reverted list. A new edit clears the redo stack; text fields keep their own typing undo.
  • Home-screen quick view - when today has tasks, the hint bar shows a clickable Todo done/total stat with an "Unfinished today" hover bubble.
  • Late tasks - past days are not editable. An unfinished task 1-3 days late shows EXTENDED and can still be marked done; later than that it shows OVERDUE and is locked.
  • Search matches task names and dates (jul 3, yesterday). Tasks are kept for one year.
  • Shared storage - tasks persist in the local look.db and are shared between the macOS and Windows/Linux apps.

speed#

Measures the connection on a live dial: download and upload orbit as counter-rotating comets on a log scale (1 Mbps to 1 Gbps), and latency sits at the centre, pulsing once per round trip.

  • The test starts when the panel opens, unless the last reading is under a minute old. R runs a fresh one. A run takes about 15 seconds and saturates the link while it does, so expect other downloads to slow briefly.
  • Under the numbers sits a plain-language read of the result, e.g. FAST BROADBAND / LATENCY EXCELLENT.
  • LAN is this machine's address, WAN is what the far end sees. WAN is masked until you press E. Clicking either address copies it, and WAN copies in full even while masked.
  • The footer names your ISP, rough location, and which server answered. via Cloudflare is the primary; a fallback mirror reads conservatively low.
  • Latency is one TCP handshake against an already-resolved address, so it sits a little above what ping reports.

shell#

Run a shell command from the launcher. Input containing sudo shows an orange warning cue.

kill#

Force-kill a running app or process with explicit confirmation. Supports port-based targeting:

  • kill :3000 - kills whatever owns port 3000
  • kill port 3000 - same, verbose form
  • Use Up/Down to navigate process results, Y/N to confirm or cancel

sys#

Displays system information at a glance.

Declared 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.

You declare them in a small TOML file. They show up in the same list as everything else, rank by how often you use them, and act like every other row.

Needs Look v0.6.12 or newer. Earlier builds do not read ~/.look/sources/.

Want something working straight away? lookbook is a collection of ready-made sources for git, tmux, ssh, docker and more. Install one from Settings → Extend (see Installing from lookbook), or copy it in by hand and reload.

Apps can add rows too, by installing a manifest in this same format: see Rows an app installs.

Quick start#

  1. Make the directory:
bash
mkdir -p ~/.look/sources
  1. Put a file in it. Any name ending in .toml, and as many files as you like:
toml
# ~/.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",
]
  1. Reload: Cmd+Shift+; (macOS) or Ctrl+Shift+; (Linux, Windows).

Type projects and your repos are there. Type work setup and one Enter opens both apps.

Look reads every .toml in the directory and merges them, so you can split by topic (work.toml, git.toml) and delete one when you are done with it. Block ids must be unique across all of them.

The four kinds of block#

Every [header] in a file is one block, and every block needs exactly one producer key. That key is what says what the block is.

ProducerWhat it makesUse it for
doone row, and Enter performs its stepsroutines, bundles, a command you run often
dirone row per child of a directoryprojects, notes, screenshots
fileone row per line of a text filea list you maintain by hand
runone row per line a command printsanything that changes: branches, containers

Two more exist for apps shipping their own rows, connect and ask, and you are unlikely to write either by hand. They are covered under Rows an app installs and on the Connectors page.

do#

toml
[work]
name = "Work setup"
icon = "🚀"
do = [
  "open -a Slack",
  "open -a Ghostty",
]

One row. Enter runs every step in order, and a step that fails does not stop the rest.

dir#

toml
[projects]
name  = "Projects"
dir   = "~/dev"          # or: dirs = ["~/dev", "~/work"]
depth = 1                # 1 = immediate children
only  = "dirs"           # dirs | files | all

The rows are real files and folders, so preview, reveal, copy and the file shortcuts all keep working on them. Hidden entries are always skipped. match and exclude take globs, tested against the entry name.

file#

toml
[hosts]
name = "SSH hosts"
file = "~/.look/hosts.txt"
open = "ssh {id}"

One row per line. See Row formats.

run#

toml
[branches]
name = "Git branches"
run  = "git -C ~/dev/look branch --format='%(refname:short)'"
open = "git -C ~/dev/look switch {id}"

The command runs on reload, not on every keystroke, and its rows are cached until the next reload. Search stays instant no matter how slow the command is.

If it fails, times out, or prints nothing, the rows from last time are kept. Losing them would also lose the ranking those rows had earned.

A script with no TOML at all#

Drop an executable straight into ~/.look/sources/ and Look treats it as a run block whose id and name are the file name. The fastest way to try an idea. On Windows the extension decides: .exe, .cmd, .bat, .com and .ps1.

Key reference#

Every block can carry these:

KeyTypeDefaultWhat it does
namestringthe block idWhat you type to find the rows
aliaseslistnoneExtra words that also find them
biasinteger0Score offset. Negative sits below apps and files
iconstringnoneEmoji, SF Symbol name, or an image path
enabledbooltruefalse keeps the file, stops loading the block. The Extend screen writes it for you
previewstringnoneCommand run for the selected row; output fills the right panel. See Previews
scopeboolfalseThe block's name narrows a search to its own rows: obsnote inv. See Searching inside one block
confirmstringnoneYes/no question asked before the block acts
controltablenoneA switch or button on the block's rows, answered by a connector. See Connectors
thenlistnoneOther blocks a picked row can reach
open edit terminal revealstringnoneSee What Enter does

Producer-specific:

KeyBelongs toNotes
appliesdoRows this action joins even though it did not produce them. See Actions on any row
dir / dirsdirOne root, or several. They combine
depthdirDefault 1
onlydirdirs, files or all
match / excludedirGlobs against the entry name
cwdrunWorking directory. Default: the filesystem root
timeoutrun30s, 5m, 1h. Default 5s, capped at 30s
formatfile, runlines or json
connectconnectA program Look keeps running, which sends rows whenever it likes
askaskA verb the connector that owns the selected row plans and runs

A leading ~ in any path key is your home directory. Keys Look does not recognise are reported and ignored, never fatal, so a file written for a newer version still loads on an older one.

Placeholders#

Every command a block declares expands against the selected row:

PlaceholderExpands to
{id}The row's id
{title}What the row displays
{path}Its filesystem path, when it has one
{dir}The row itself when it is a folder, its parent when it is a file
{query}What you had typed when you picked it
{arg}The rest of the line after the word that named the block. See Typing into a block
{parent.id} {parent.title} {parent.path} {parent.dir}The same, for the row above. Repeat parent. to go further out
{path:url}, and :url on any of the aboveThe same value, percent-encoded for use inside a URL

Three rules worth internalising:

  • Never quote a placeholder yourself. Every value is shell-escaped on substitution, so open {path} handles a folder called My Project and a row titled ; rm -rf ~ is inert. Writing open "{path}" gives you a doubly quoted path that resolves to nothing.
  • A block whose producer mentions a placeholder is not a top-level row. do = ["make -C {path} deploy"] only means something against a selected project, so Look keeps it out of the main list and reaches it only through another block's then. A placeholder in cwd counts too. {arg} is the exception, since it is the line you typed rather than a row.
  • A value that lands inside a URL needs `:url`. Shell quoting protects the shell and does nothing for the URL, so a note called Notes & ideas (draft).md would end the query string early. :url percent-encodes the value first, and it is the one form Look does not shell-quote, because what comes out holds nothing a shell reads as punctuation. Wrap the URL in quotes yourself, since ? and & are shell punctuation:
toml
do = ["open \"obsidian://open?path={path:url}\""]

Steps also see LOOK_ID, LOOK_TITLE and LOOK_PATH in their environment, for a script that would rather read a variable than take an argument.

Typing into a block#

A do block whose steps use {arg} takes the rest of what you typed as its argument, and stays a row you can reach directly:

toml
[newnote]
name    = "New note"
aliases = ["newnote", "nn"]
do      = ["open \"obsidian://new?vault=notes&name={arg:url}\""]

Type nn Meeting with Bob and the row leads the results with Meeting with Bob as its subtitle, so Enter is not a guess.

  • The opening word is the block's name or one of its aliases, in any case. The block id is not one of them, and a name with a space cannot be the word either, which is why the example repeats newnote as an alias.
  • Only a do block can take an argument. dir, file and run make their rows before you type, so {arg} in one of those is reported and the block stays out of the index.
  • {arg} is empty when the row was reached any other way, by search or through Cmd/Ctrl+K, and when nothing follows the word.
  • {query} is different: it is the query that found a row, so a producer using it is reachable only through another block's then.

Searching inside one block#

A block that makes rows can be searched on its own, two ways.

Press `Enter` on the block's row. You go into it, the list shows only its rows, and typing filters them. Esc comes back. Every block that lists (dir, file, run, connect) works this way, with nothing declared.

Or name it at the start of the line, which a block opts into with scope:

toml
[obsnote]
name    = "Obsidian"
aliases = ["obsnote"]
scope   = true
dir     = "~/Documents/my-vault"

Now obsnote invoice lists only this block's rows matching invoice. Any single-word name or alias opens it, and obsnote alone is still just the block's own row. It is opt-in because it reserves the word: a block aliased new would otherwise swallow every search starting with "new ". A do block has no rows to narrow, so declaring scope on one is reported.

Actions on a row#

What Enter does#

Four verbs have one shortcut each across the whole app:

VerbKeyMeaning
openEnterThe main action
editCmd/Ctrl+EOpen in your editor
terminalCmd/Ctrl+TOpen a terminal there
revealCmd/Ctrl+FShow in Finder / Explorer / Files

Declare only what differs from your global preferred tools. The rule for Enter: the block's open if it declares one, otherwise the row's path is opened the way any file in Look is opened. That is why most dir blocks declare no verbs at all.

A do block cannot declare verbs. It already is the action.

Drill-downs and actions#

then lists other blocks a picked row can reach. Press Cmd/Ctrl+K on a row to open the action menu, Cmd+J / Cmd+K or the arrows to move, Enter to run, Esc to close.

The target's own producer decides what happens:

  • a target that performs steps (do) is an action on the selected row;
  • a target that produces rows is a drill-down: you descend into its rows, and Esc comes back.
toml
[projects]
dir  = "~/dev"
only = "dirs"
then = ["branches"]

[branches]
name = "Branches"
run  = "git -C {path} branch --format='%(refname:short)'"
open = "git -C {parent.path} switch {id}"

Look at [branches] twice, because this is the one thing that trips people up. run is the producer: it is asked for rows while the project is still the selected row, so the project is {path}. open acts on a branch row that run produced, whose parent is the project, so there the project is {parent.path}.

Levels stack five deep. A then target may live in another file.

Actions on any row#

then gives a verb to the rows of one block. applies gives one to rows anything produced, the files and folders Look already indexes included:

toml
[optimize]
name    = "Optimize"
applies = { ext = ["png"] }
do      = ["oxipng -o4 {path}"]

Select any .png anywhere, press Cmd/Ctrl+K, and Optimize is there. No block listing the images, no folder to keep them in.

Only a do block can declare it. A block that produces rows is a list, and a list is not a verb.

Written asMatches
applies = "files"Any row whose path is not a directory
applies = "dirs"Any row whose path is a directory
applies = "paths"Any row with a path, apps included
applies = "apps"App rows
applies = { ext = ["png"] }That extension, any case, written without the dot. Files only
applies = { match = ["*.tar.gz"] }A glob on the file name, not the whole path
applies = { only = "dirs", match = ["*.xcodeproj"] }Both at once

A row with nothing on disk (a settings pane) matches nothing, since {path} would be empty.

These land after the standard verbs, never in place of them: Cmd/Ctrl+E still edits and Cmd/Ctrl+F still reveals. A row from a block that declares then shows that block's own targets first, and these after.

Keep them narrow. Every applies = "paths" block puts one more entry on every row in the launcher, forever. Ten per row is the ceiling; past that the rest are dropped, highest bias first, and the overflow is reported.

Asking before acting#

toml
[drop-branch]
name    = "Delete local branch"
confirm = "Delete local branch {id}?"
do      = ["git -C ~/dev/look branch -d {id}"]

The question is expanded against the row, so it names what is about to happen. Anything destructive should have one. A launcher makes Enter on the wrong row very cheap, and this is the one line that makes it expensive again.

Row formats#

`lines` (the default) is one row per line, tab separated: id, then title, then subtitle. A bare line with no tabs is a row whose id and title are the same text. The id is what actions receive and what usage is recorded against, so a row can show one thing and act on another.

`json` carries the two fields tabs cannot: path, which makes a row a real filesystem object, and a per-row icon.

json
[{"id": "look", "title": "Look", "subtitle": "3 uncommitted", "path": "~/dev/look"}]
FieldRequiredNotes
idyesWhat actions receive
titlenoDefaults to the id
subtitlenoDefaults to the block name
pathnoMakes the row a filesystem object
iconnoEmoji, SF Symbol name, or image path. Beats the block's icon

One top-level array, one object per line, or pretty-printed objects run together: whichever your tool already prints.

Previews#

preview is not part of the producer. It runs for whichever row you have selected, in that row's own folder, and its output fills the right panel. Any block can declare one, and it always gets 5 seconds whatever timeout says, because you are watching it happen.

toml
preview = "git -C {parent.path} log -10 --format='%h %s' {id}"

Plain output is shown as text. Output that is a JSON array of typed blocks is drawn as a layout instead:

json
[
  {"type": "fields", "rows": [{"label": "Branch", "value": "main"}]},
  {"type": "list", "items": [{"label": "3 commits ahead"}]},
  {"type": "markdown", "text": "## Notes\nReady to merge."},
  {"type": "code", "language": "diff", "text": "+ added line"}
]
BlockFields
fieldsrows: label and value pairs
listitems: each a label, with optional id and on
texttext, held to the same line limit as plain output
codetext, and an optional language for highlighting
markdowntext, drawn as headings, lists, links and fenced code

Anything else stays the text it always was: a command that prints its own JSON is not read as a layout because it happens to start with a bracket, and one block of an unknown type sends the whole output back to text.

Your shell#

Every command a block declares is shell text, run by your login shell, so &&, |, > and your PATH all work. That matters more than it sounds: a launcher is started by the window server, not a terminal, so without the login shell it would inherit an environment with no Homebrew, no nvm and no $EDITOR.

A login, non-interactive shell reads ~/.zshenv, ~/.zprofile and ~/.zlogin, but not ~/.zshrc, and for bash the profile chain but not ~/.bashrc unless your profile sources it. If a PATH entry or a shell function lives in your rc file and a block cannot find it, that is why. Move the export to ~/.zprofile, or name the binary by full path.

If your shell is fish or nushell, commands fall back to /bin/sh, because those shells accept the flags and then reject the script. Write POSIX shell, or call fish -c '...' explicitly.

Refresh and limits#

Reload with Cmd+Shift+; (macOS) or Ctrl+Shift+; (Linux, Windows). It re-reads every file, re-runs every enabled run block, and re-indexes. Editing a block and reloading is the whole development loop. On Windows and Linux, Look also watches ~/.look/sources/ and ~/.look/connectors/ and reloads by itself shortly after a file there changes; on macOS, reload by hand.

Removing a block, or a row, removes its record and its ranking history at the next reload. Renaming a block id therefore counts as a delete plus an add.

LimitValue
Rows per block2,000
Default command timeout5s, up to 30s
Whole reload spent running commands60s
Captured output per command256 KB
Whole reload spent running commands60s
Drill-down depth5 levels

The Extend screen#

Settings → Extend lists every declaration Look loaded, one card per file, in two groups: Installed by apps (~/.look/connectors) and Yours (~/.look/sources). A file that failed to parse is listed too, with the reason, since it would otherwise be invisible.

Under each block it says what cannot work on this machine, which is what a copied example usually needs:

  • dir points at ~/dev, which is not there
  • run needs docker, which is not installed
  • open points at /Users/someone/notes, which is another machine's home folder

Nothing is run to find that out. Paths are checked on disk and the first program of each command is looked up on PATH, so a do block is read rather than performed. The same lines go to stderr once per block while indexing.

Each card carries four actions:

ActionWhat it does
Turn off / Turn onWrites enabled = false (or true) into every block in the file, keeping your comments, then reloads
EditOpens the file in your `text_editor`, or the system default
RevealShows it in Finder / Explorer / Files
RemoveMoves the file to the Trash and reloads. Only on files you wrote

Removing is not offered for a manifest an app installed, since that app would write it back on its next launch: turn it off instead. Removing takes the declaration only; helper scripts a lookbook install put in ~/.look/bin stay.

A connector's card also says whether it is running, and when it is not, why, along with its last few complaints in its own words. No problems. at the bottom means every file parsed and every block can work here.

Installing from lookbook#

Below the installed list, Browse lookbook shows the lookbook catalog. It is fetched only when the screen is open, never on launch, and a Filter box narrows it by name and description.

Each card shows:

  • the entry's name, which opens its README on GitHub
  • Install, or Reconfigure for one you already have, or the platforms it runs on when this is not one of them
  • the programs its helper scripts need that this machine lacks: needs docker, which you do not have

Install opens the declaration before anything is written. The sheet shows the commands it will run, what the Extend check already knows will need changing here, and any values the author asked you to fill in, as a folder picker, file picker, list or text box. Filling one rewrites only that value, so the file's comments survive. If installing would overwrite a file you already have, the button reads Replace and the sheet names the file.

Declarations land in ~/.look/sources/, helper scripts in ~/.look/bin/ with the execute bit set, and Look reloads.

Sharing your own: values to fill in#

The readiness check catches a folder or a program that is not on the machine, but not a value that is valid and simply yours, like a vault name inside a URL. A file meant for sharing names those in [[setup]] tables, and the install sheet asks for them:

toml
[notes]
name = "Notes"
dir  = "~/Documents/my-vault"
open = "open 'obsidian://open?vault=my-vault&file={path:url}'"

[[setup]]
label = "Vault folder"
type  = "folder"
block = "notes"
key   = "dir"

[[setup]]
label = "Vault name"
block = "notes"
key   = "open"
match = "vault=my-vault"
KeyWhat it does
labelShown beside the control
typefolder, file, text (the default), or choice
block / keyWhere the value lives. Without match, the whole string value is replaced
matchThe exact text to replace inside that value, which must appear in it exactly once
optionsThe choices, for choice
noteA hint shown under the control

The file still works as written, since each field points at a real value rather than a placeholder. setup is reserved for this and is never read as a block.

Rows an app installs#

~/.look/connectors/ holds manifests that apps write, in this same format. Every key on this page means the same thing there, with one difference that follows from the rest: a manifest's blocks are namespaced by its file name, so [notes] in myapp.toml is the block myapp.notes and can never collide with your own [notes].

  • Its `then` may only name its own blocks. A target the manifest does not declare is dropped and reported, so an app cannot run a block of yours by guessing its id.
  • Uninstalling is one file. Delete it, or turn it off from the Extend screen. LOOK_CONNECTORS_DIR repoints the directory.

Such a manifest usually declares a connect block: a program Look starts once and leaves running, which sends rows whenever its data changes.

toml
[records]
name    = "Records"
icon    = "🗂️"
connect = "~/.local/bin/myapp-connector"
  • Its rows appear and change without a reload.
  • Nothing waits on it. Slow, silent or dead, its last rows stay, and it is restarted the next time the launcher opens.
  • It can fill the preview for its own rows, offer verbs on them through ask blocks, and supply a switch or button through control. A declared preview overrides what it would have shown.
  • It may only touch blocks in its own manifest.

The protocol is on the Connectors page.

When something does not work#

Open Settings → Extend first: it shows what failed to parse and what each block needs on this machine.

  • The block does not appear. Check it declares exactly one producer. Zero or two is an error. Check its producer does not mention a placeholder, which makes it a then target by design, and that it is not turned off.
  • A `run` block shows nothing or stale rows. Run the command in a terminal first. A failing command keeps the previous rows on purpose.
  • A command works in your terminal but not in Look. Usually the login shell not reading your rc file, an alias rather than a function, or a placeholder you quoted yourself.

Problems are also printed to stderr, one line each, prefixed look sources: (and look connectors: for a connector). Launch Look from a terminal to read them.

Going further#

  • lookbook collects ready-made sources, one folder per tool, each with its own README.
  • #lookbook-share on the Look Discord is where people post sources and tiles they wrote, and ask for ones they want.
  • The full format reference in the repo covers every key, every limit, and a longer troubleshooting list.
  • Connectors is the contract for an app that pushes its own rows.
  • core/sources/example.toml is the whole format in one annotated file, kept honest by a test.

AI#

macOS only, and still beta. Look's conversational mode runs on a model you choose and point at yourself. Everything here is separate from the cross-platform answer card and web suggestions, which need no model and are documented under Web Answers.

Linux and Windows have no on-device model and no > session yet. The ai_enabled key is shared across platforms, so on those two it gates web answers only.

Setup#

Pick a provider in Settings → Advanced → AI:

ProviderWhat it does
Apple Intelligence (on-device)Answers questions. Too small to plan actions, so calendar and reminder phrasings won't work through it
Ollama (local)The full feature set. Needs a pulled model

Ollama defaults to http://localhost:11434 with model qwen3.5:4b. Both are editable in the same panel, or in ~/.look/config:

KeyDefaultMeaning
ai_enabledtrueMaster switch. false turns off the AI mode, the answer card, and web suggestions
ollama_hosthttp://localhost:11434Where inference runs. A non-loopback address sends prompts over the network
ollama_modelqwen3.5:4bModel tag to use
ai_allow_remote_contextfalseWhether your calendar, clipboard, and remembered facts may be attached to prompts when inference is not on this machine

Calendar, Reminders, and Contacts access is granted from the Permissions row in the same panel. Look reads those through the OS, never over a network.

The `>` Session#

Type > to turn the panel into a conversation. Actions, questions, and streamed answers stack together in one thread.

ShortcutAction
EscapeLeave the session
Cmd+ZUndo the last action
Cmd+.Stop the current generation without ending the session
Shift+EnterNew line instead of sending. The box grows to six lines and stops
Option+Up / Option+DownWalk your recent prompts, like a shell history
Shift+Up / Shift+DownSelect text in the message instead
Cmd+1..Cmd+9, Cmd+0Open the conversation carrying that chip (Cmd+0 is the tenth)
Cmd+D / Cmd+DeleteDelete the highlighted conversation. Undo from the banner with Cmd+Z
Cmd+HOpen the help screen on its AI topic without leaving the conversation

Conversations persist, and they are listed, searchable, and resumable. The chip list stops at ten because a Cmd chord is a single keypress; older conversations are found by typing, then Tab/arrows and Enter.

The running-apps row is hidden on the AI screen, which is what frees the digits for conversations.

Calendar and Reminders#

Add, move, cancel, complete, remove, snooze, and block focus time in plain language:

  • >move my dentist to friday
  • >remind me to renew the domain next tuesday
  • >block two hours for deep work tomorrow morning

Every change previews first and commits on Enter, then Cmd+Z undoes it. Nothing is written to your calendar without that confirmation. Adding an event that already sits on that day says so rather than quietly duplicating it. Multi-step requests become an ordered plan that runs in sequence.

`@` for exact times#

>add lunch @ 1pm skips the model entirely. It is instant, deterministic, and works with no capable model configured at all, which makes it the reliable path when you already know the time.

Join a Meeting#

join, join meeting, join my next meeting, or join <name>.

Pins the next Teams, Zoom, Google Meet, Webex, Jitsi, GoToMeeting, or Whereby meeting on your calendar; Enter opens the link. Works in > and in the main bar.

  • Name one to skip past a sooner meeting: join standup, join design review
  • A name matching nothing shows no row, which is what keeps join two pdfs an ordinary file search
  • Looks two days ahead, so a meeting tomorrow reads "tomorrow 14:30" rather than counting minutes
  • A meeting already under way beats one starting sooner
  • Deterministic and model-free: the invite already carries its join link, so Look reads it out of the event rather than calling any API

Online accounts work through macOS Calendar (System Settings → Internet Accounts).

Call and Message#

call mom, facetime sarah, message alex, call mom on iphone.

Matches the name against Contacts and opens FaceTime or Messages by URL scheme, with no API and no network. Look always lists what it found before anything rings, so a wrong pick never calls the wrong person: the row you read is the confirmation. A bare call means FaceTime audio, the one that works with no iPhone nearby.

Works in > and in the main bar, where each way to reach someone is its own row.

File Recall#

Ask for files by description instead of name: pdfs from last week, files added to desktop. Look searches your index by type, time, and place.

Results say when they were interpreted, or when the search had to be relaxed to find near-misses. The model produces a structured query, never a rewritten query string, and never overrides results already on screen.

Text Operations#

summarize, translate to german, make this shorter transform whatever you copied. To work on a file instead:

  • Pick it first with Cmd+P, or
  • @-mention it while typing, which opens a two-column picker with previews

Text files, source code, and PDFs are supported. An oversized file reports how much of it was read rather than quietly summarizing only the first part. A PDF that is a scan, is password-protected, or decodes to junk is refused by name, because summarizing garbage would read exactly like a real answer.

Remembered Facts#

remember I prefer metric stores a durable fact the assistant sees on every turn. Only you can write these; the model never can.

No Prefix Needed#

Typing an instruction in the main bar works too, without >. The plan appears as the first result row and one Enter runs it.

Clipboard History#

Clipboard history lives in the database, so it is searchable and available to the AI as context. Browse it with the c" prefix; Cmd+D or Delete removes the selected entry.

Privacy#

Prompts go to whichever provider you select. Apple Intelligence is on-device and Ollama defaults to localhost, so by default no prompt leaves your machine.

Two things change that:

  • Setting ollama_host to a non-loopback address
  • Selecting a cloud-routed Ollama model (a -cloud tag, which the local daemon proxies to Ollama's service)

Your calendar, clipboard, and remembered facts are held to a stricter rule than the prompt itself. They are attached only when inference is on this machine. For anything remote they are withheld until you turn on ai_allow_remote_context.

Set ai_enabled = false to turn all of it off, including the answer card and web suggestions. Local search and indexing never make network calls either way.

Keyboard Shortcuts#

On Windows/Linux, read Cmd as Ctrl throughout, except the launcher toggle.

Every modifier chord on this page is a default. Rebind it in Settings → Shortcuts on macOS, Windows and Linux: click the key capsule, press the new chord, then Save Config. Only what you changed is written, as shortcut_<group>_<action> in ~/.look/config with the same key names on every platform, so a config file carries your keys between machines. The keys that structure navigation (Enter, Tab, Escape, the arrows, the Y/N confirmations) stay fixed. Grammar and examples under Shortcuts.

Global#

ActionmacOSWindows / Linux
Toggle launcherCmd+SpaceAlt+Space
Open/close settingsCmd+, (also Cmd+Shift+,)Ctrl+,
Reload config, sources and the Super Actions layoutCmd+Shift+;Ctrl+Shift+;
Flip between Split and Compact for this sessionCmd+Shift+CCtrl+Shift+C
Quit LookCmd+Option+QAlt+Shift+Q

The launcher toggle is rebindable: record a new one in Settings → Shortcuts (macOS and Windows), or set launcher_hotkey in ~/.look/config - see Configuration. On Linux the only accepted value is none, which frees the key so you can bind lookapp --toggle in your desktop's own shortcuts.

Navigation#

ShortcutAction
Tab / Shift+TabNext / previous result
↑ / ↓Move selection
EnterOpen selected result
Ctrl+1..Ctrl+9Open the result row showing that digit (Ctrl on macOS too; Mission Control's "Switch to Desktop N" shortcuts take these first if you enabled them)
EscapeGo back / close (context dependent)
Shift+EscapeHide the launcher
Cmd+HToggle help/shortcuts screen
Cmd+QHide launcher (macOS)

On the Selected Result#

ShortcutAction
Cmd+KOpen the action menu for the row
Cmd+EEdit: text_editor on a file, code_editor on a folder
Cmd+TOpen a terminal at the row's directory
Cmd+FReveal in file manager
Cmd+CCopy file/folder
Cmd+PToggle pick (multi-select)
Cmd+Shift+PClear all picked items
Shift+EnterOpen all picked items, then clear them
Cmd+DMove to trash; empties the Trash on the Trash quick-folder
Cmd+Shift+HHide the app from Look
Ctrl+Shift+EnterRun as administrator (Windows)
Cmd+IPaste into the app you came from: the selected clip in c" and ci" mode, otherwise the selected file/folder or every picked item
DeleteRemove the entry, in c" and ci" mode (Cmd+D does the same)

See Result Actions for what each one does, and Preferred Tools for the editor, terminal and file manager Cmd+E / Cmd+T / Cmd+F use.

Entering Modes#

ShortcutAction
Cmd+EnterWeb search the current query
Cmd+/Command mode (resumes the last panel; calc on first run)
:cmdJump straight to a command, e.g. :calc 2+2, :todo, :kill chrome
"Browse query prefixes
lookapp <mode>Open straight into a mode from a keybinding - see Launch Modes
>AI conversation (macOS)

Command Mode#

Cmd+1..Cmd+7 switch panels only while command mode is open. On the home screen those keys drive the running-apps switcher instead.

ShortcutPanel
Cmd+1calc
Cmd+2pomo
Cmd+3todo
Cmd+4speed
Cmd+5kill
Cmd+6shell
Cmd+7sys

Within a panel:

ShortcutAction
Y / NConfirm / cancel a kill prompt
Space / R / PIn pomo: start-pause • reset • music play-pause
Cmd+N / Cmd+SIn todo: switch Tasks / Stats • save
Cmd+Z / Cmd+Shift+ZIn todo: undo • redo a task change
R / EIn speed: run again • reveal the public address

Running Apps Switcher#

On the home screen, the platform modifier plus an icon's badge digit activates that running or pinned app: Cmd+1..Cmd+9 on macOS, Alt+1..Alt+9 on Linux/Windows. Badges are assigned ergonomically rather than sequentially - see Running Apps Switcher.

These digits and the result-row digits each take one modifier for all of 1..9: in Settings → Shortcuts, click the row and press the modifier alone.

Super Actions#

On the empty home screen, the platform modifier plus a tile's highlighted letter fires it: Cmd on macOS, Alt on Linux/Windows.

KeyTile
B / WBluetooth • Wi-Fi
T / K / STheme • Keep Awake • Screensaver
M / PMic mute • Now Playing play-pause
R / DRestart • Shut Down (both arm first, fire on the second press)

A letter belongs to its tile, so one you have taken off the strip does nothing, and a tile of your own claims the letter its mnemonic asks for. See Arranging the Strip.

AI Mode (`>`, macOS)#

The > session rebinds several keys, including the digits, which open conversations there instead of running apps. Full table on the AI page.

Settings Panel Zoom#

ShortcutAction
Cmd+- / Cmd+=Zoom out / in (temporary)
Cmd+0Reset zoom

Launch Modes (CLI)#

Look can open straight into a mode instead of the empty home screen. Bind one of these to a key in your desktop or window manager and that key becomes "open my clipboard history", not just "open Look".

bash
lookapp clipboard          # opens with c" already in the field
lookapp todo               # opens the todo panel
lookapp calc 2+2           # opens /calc with 2+2 typed
lookapp files report       # files-only search for "report"

The mode name comes first and everything after it is the search term, verbatim. That matters for shell: lookapp shell ls -la keeps its -la instead of trying to read it as an option.

Modes#

Names are case-insensitive, and most carry shorter aliases.

ModeAliasesOpensWhere
clipboardclip, cbc" clipboard historyall
clipboard-imageclipimg, cici" copied imagesall
appsappa" applications onlyall
filesfilef" files onlyall
foldersfolder, dirsd" folders onlyall
recentrc" recent files and foldersall
regexrer" regex searchall
processespsps" find and kill running processesall
translatetrt" quick translationall
dictionarydicttw" dictionary lookupmacOS
calccalculatorthe calculator panelall
pomopomodorothe pomodoro timerall
tododaily tasksall
speedthe network speed testall
killrunning processesall
shellthe shell command panelall
syssystem infoall
aichat, askthe > AI sessionmacOS

lookapp --list-modes prints this table as the build you are running sees it, so a mode that is macOS-only says so rather than disappearing.

Flags#

FlagEffect
--toggleShow or hide the running launcher. What you bind when launcher_hotkey=none
--mode <name> [term]The long form of a bare mode name
--query <text>Open with exactly this text in the field, no mode
--list-modesPrint the modes and exit
reload-configRe-read ~/.look/config in the running Look and exit, without opening a window
--End the options, for a term that starts with a hyphen

reload-config is for scripts that rewrite the config, a theme that follows the wallpaper being the usual one. If Look is not running it does nothing and exits 0.

When a name is wrong#

  • A misspelled mode (lookapp clipbrd) is an error: you were specific and missed, so Look says so and prints the list.
  • A mode this platform does not have (lookapp ai on Linux) says that, rather than opening a search for >.
  • Any other unrecognised argument just opens Look normally, which is what keeps old autostart lines working.
  • --mode with no name prints the list instead of erroring, since a keybinding has no terminal to complain to.

Settings Panel#

Settings Panel#

Open with Cmd/Ctrl+,. Contains four tabs:

Appearance#

  • Theme: 8 built-in presets (Catppuccin, Tokyo Night, Rose Pine, Gruvbox, Dracula, Kanagawa, Kindle, Liquid) plus Custom. Kanagawa is the default on Windows and Linux. Kindle is the one light preset: warm paper, near-black ink. Liquid renders on macOS 26's Liquid Glass, and ships as clear glass elsewhere: near-transparent fills, wider corners, a bright rim along the top edge.
  • Tint Color, Blur, Font, Font Color, Border - colors and type. Behind-window blur is the system's to grant: Look asks for it on KDE, Hyprland 0.56+, niri and Windows 11, and Blur Opacity thins the tint wherever there is frost - real blur, or a background image.
  • Window - Split or Compact, see Window Layout
  • Inner Gap - see Floating Layout
  • Search Bar - what the right end of the bar holds: running apps, pinned apps, today's task, a script's output, or nothing. See Home Screen
  • Super Actions - show or hide the Home Screen strip
  • Row Digits - the digit badges on result rows (Ctrl+1..Ctrl+9 open them either way)
  • Christmas - snow and lights over any theme
  • Animations - the launcher's motion: the arrival, the entrance staggers, the selection glide. Off shows every change instantly; see `animations_enabled`

Advanced#

  • Background image (path, layout mode, opacity, blur) - keys in Configuration
  • Indexing settings (File Scan Depth 1-12, File Scan Limit 500-50000)
  • AI / Web answers on/off, provider choice, Ollama host and model, and Calendar/Reminders/Contacts permissions - see AI
  • Search Engine for Cmd/Ctrl+Enter: Google, DuckDuckGo, Bing, or your own URL template
  • Backend log level
  • Launch at login
  • Config reset: Create Fresh Config button with confirmation popup

Shortcuts#

  • Every chord Look answers to, listed by topic (Main, View, Todo, and so on), with a search box to find one by name or key
  • Rebind any of them: click the key capsule, press the combination you want, then Save Config. Reset beside a row puts its default back, Reset all restores the whole table, and two live chords that collide are flagged rather than refused. Saved as shortcut_<group>_<action> in ~/.look/config, see Shortcuts
  • Launcher toggle records here too on macOS and Windows; a combination another app already owns is refused with the reason. Linux keeps the default and takes launcher_hotkey=none from the config file instead
  • The structural keys (Enter, Tab, Escape, the arrows, Y/N) are listed but fixed
  • Toggle the help screen with Cmd/Ctrl+H

Extend#

  • What Look has been extended with: every declared source file under Yours (~/.look/sources) and every manifest an app installed under Installed by apps (~/.look/connectors)
  • Under each block, what cannot work on this machine (a missing folder, a program that is not installed, a path from another machine's home folder), and for a connector whether it is running, with its last few errors
  • Turn off / Turn on, Edit, Reveal, and Remove (to the Trash, your own files only) on each file - see The Extend screen
  • Browse lookbook: ready-made sources to read and install, with any values the author asks you to fill in - see Installing from lookbook

Floating Layout (Inner Gap)#

Split the launcher into floating tiles, tiling-WM style, with the Inner Gap slider in Settings → Appearance (0-24 px, default 7):

  • 0 keeps the classic single framed panel.
  • Above 0, the search bar, results list, and preview panel become separate frosted tiles separated by transparent gaps, floating directly on the desktop.
  • Each tile keeps the theme border, so the Border thickness/color settings apply per tile.
  • With an empty query, only the search bar shows (resting state) - the columns appear as you type.
  • A background image continues seamlessly across the tiles, as if the gaps were cut out of one picture.

Persisted as inner_gap in ~/.look/config and shared between the macOS and Windows/Linux apps.

On environments that can't composite the floating look faithfully (bare X11 WMs without a compositor, VMs with software rendering, blur-disabled stacks), Look keeps the classic framed panel with both columns visible and disables the Inner Gap slider. The saved value is untouched and applies again on a capable setup.

Lazy Indexing#

On by default. Look reindexes only when file or app changes are detected, when you reload with Cmd/Ctrl+Shift+;, or on restart. Turn lazy_indexing_enabled off to reindex on every launch: fresher, slower.

Configuration#

Look uses a configuration file at ~/.look/config. Changes take effect immediately after saving, or you can press Cmd/Ctrl+Shift+; to reload.

That file holds settings. To add your own rows to Look, from a folder, a list, or a command, see Declared Sources.

Configuration File Location#

  • Default: ~/.look/config
  • Custom: Set LOOK_CONFIG_PATH environment variable
  • Reload: Cmd/Ctrl+Shift+;
  • Reset: Settings → Advanced → "Create Fresh Config"

Format#

  • One key=value per line
  • # starts a comment
  • Unknown keys ignored
  • When an update adds a key, Look appends it with its default under # Added by look update. Values you set are never rewritten
  • Invalid values fall back to defaults

Backend Settings#

App Scanning#

ini
app_scan_roots=/Applications,/System/Applications,/System/Applications/Utilities,/System/Library/CoreServices/Applications
app_scan_depth=3
app_exclude_paths=
app_exclude_names=

File Scanning#

ini
file_scan_roots=Desktop,Documents,Downloads,Pictures,Videos
file_scan_extra_roots=
file_scan_depth=4
file_scan_limit=8000
file_exclude_paths=

Use file_scan_extra_roots to add user-specific directories on top of the defaults (overlap and risky-root validation is enforced).

Other Backend Options#

ini
lazy_indexing_enabled=true
skip_dir_names=node_modules,target,build,dist,.git,vendor,out,coverage,tmp,cache,venv
backend_log_level=info
launch_at_login=false

Backend Keys Reference#

KeyDescriptionDefault
app_scan_rootsDirectories to scan for apps(see above)
app_scan_depthMax depth for app scanning3
file_scan_rootsDirectories to scan for filesDesktop,Documents,Downloads,Pictures,Videos
file_scan_extra_rootsExtra user-specific directories to index(empty)
file_scan_depthMax depth for file scanning (1-12)4
file_scan_limitMax files to index (500-50000)8000
lazy_indexing_enabledEnable lazy indexingtrue
skip_dir_namesDirectories to skip(see above)
backend_log_levelLog verbosityinfo
launch_at_loginStart at loginfalse

Preferred Tools#

Name the editor, terminal, and file manager Look should hand a row to. Four optional keys:

ini
text_editor=nvim
code_editor=zed
terminal=ghostty
file_manager=nautilus
KeyUsed forExample values
text_editorEditing one file (Cmd/Ctrl+E on a file row)nvim, hx, micro, vim, zed
code_editorOpening a project folder (Cmd/Ctrl+E on a folder row)zed, code, cursor, xcode
terminalCmd/Ctrl+T, and the host for any terminal editorghostty, iterm, kitty, wezterm, gnome-terminal
file_managerThe Cmd/Ctrl+F reveal targetnautilus, dolphin, thunar, finder

Declare nothing and nothing changes. An undeclared key means the system default, which is what Look did before these keys existed. They are config-file only - there is no Settings control - so edit ~/.look/config and reload with Cmd/Ctrl+Shift+;.

See Result Actions for what the actions do and where the menu is.

Name the tool, not a command#

A value is a tool name, never a command with its own arguments. Look already knows how to drive each one, including running a terminal editor inside your terminal, which is the whole reason you name a tool instead of writing a command. text_editor=nvim -u NONE is not a name and will not work.

Case, a trailing .app, and a leading directory are all forgiven: Zed, Zed.app and /opt/homebrew/bin/zed all mean zed. Spelling out a full path pins that exact build instead of whatever PATH finds first.

Which key an action uses#

  • Edit takes text_editor for a file row and code_editor for a folder row - a file is a thing to edit, a folder is a project to open. Declaring only one of the two covers both.
  • Open terminal here on a folder opens that folder; on a file it opens the file's parent, because "here" never means the file.
  • An app row gets neither. Both actions are about a place you work in, and the folder holding an app is /Applications. Reveal still works on an app.
  • A source block that declares its own edit / terminal / reveal beats these keys, for that block's rows only.
  • file_manager opens the containing folder. Leave it undeclared if you want the file itself selected on arrival: only the platform's own manager can do that.

Terminal editors#

Naming a terminal editor (nvim, helix, kakoune, micro, nano, …) as text_editor needs terminal declared too. Look then opens the terminal and runs the editor inside it, at the right path - so terminal=ghostty plus text_editor=nvim gives you all three of edit-a-file, edit-a-folder, and terminal-here from two words of config.

A value that cannot work says so instead of doing nothing:

What you setWhat Look tells you
A terminal editor, no terminalnvim runs in a terminal; set terminal in your Look config
A terminal as text_editorghostty is a terminal; set text_editor to the editor it should run
terminal=warp or terminal=hyperwarp cannot be told to run a command
Nothing at allSet text_editor in your Look config

Warp and Hyper are named because neither offers a way to run a command in a new window. Every other terminal is either known or driven with the -e convention, and one nobody has listed simply works if it honors -e.

Commands run through your login shell, so PATH, Homebrew, nvm and asdf shims resolve the way they do in a real terminal - a launcher started by the window server would otherwise see none of them. Paths are shell-quoted on substitution, so a folder called My Project stays one argument.

Web Answers#

ini
ai_enabled=true

Gates all network answer features: the answer card (Wikipedia, DuckDuckGo), currency/weather/crypto converters, and web search suggestions. Set to false to run fully offline. On macOS the same key also gates the on-device Apple Intelligence fallback.

ini
web_search_engine=google

The engine behind Cmd/Ctrl+Enter and the suggestion rows: google, duckduckgo, bing, or a URL template where %s stands for the query, such as https://search.brave.com/search?q=%s. Also in Settings → Advanced → Search Engine.

AI Mode (macOS)#

ini
ollama_host=http://localhost:11434
ollama_model=qwen3.5:4b
ai_allow_remote_context=false

Provider settings for the > conversation mode. ai_enabled above is the master switch for these too.

KeyDescriptionDefault
ollama_hostWhere inference runs. A non-loopback address sends prompts over the networkhttp://localhost:11434
ollama_modelModel tag to useqwen3.5:4b
ai_allow_remote_contextWhether calendar, clipboard, and remembered facts may be attached to prompts when inference is not on this machinefalse

Ignored on Linux and Windows, which have no on-device model. Full behavior on the AI page.

UI Theme Settings#

Theme Preset#

ini
ui_theme=catppuccin
Theme

Available: catppuccin, tokyoNight, rosePine, gruvbox, dracula, kanagawa, kindle, liquid, custom

liquid draws on macOS 26's Liquid Glass and is hidden on older macOS. While glass is the blur style, Blur Opacity is disabled. Settings → Appearance → Blur Style → Liquid Glass puts the glass under any theme's palette.

macOS uses camelCase and matches case-insensitively; Windows and Linux hyphenate the two-word names, tokyo-night and rose-pine, and match exactly.

Unset, the key means the individual ui_* values decide the look on macOS, and the default preset (Kanagawa) on Windows and Linux, where those colours are ignored until it reads custom. Moving a colour slider writes custom for you.

On Windows and Linux, ui_surface records how surfaces are drawn rather than what colour they are - empty for the classic panel, liquid for glass. It is stored separately from ui_theme because tweaking any slider rewrites that key to custom, and a customised Liquid keeps its glass.

Appearance#

The block below is what macOS writes on first launch. Windows and Linux keep these defaults in the app and seed none of them, so each key left out takes the shipped value.

ini
ui_tint_red=0.08
ui_tint_green=0.10
ui_tint_blue=0.12
ui_tint_opacity=0.55
ui_blur_material=hudWindow
ui_blur_opacity=0.95
ui_font_name=SF Pro Text
ui_font_size=14
ui_font_red=0.96
ui_font_green=0.96
ui_font_blue=0.98
ui_font_opacity=0.96
ui_border_thickness=1.0
ui_border_red=1.0
ui_border_green=1.0
ui_border_blue=1.0
ui_border_opacity=0.12

Floating Layout#

ini
inner_gap=7
ui_surface_radius=1.5

inner_gap is the home-screen gap, 0-24 in the platform's own unit: points on macOS, pixels on Linux and Windows. 0 keeps the classic framed panel; above 0 the home screen splits into floating tiles separated by this gap, each with its own theme border. Both a fresh config and an absent key mean 7. Shared between the macOS and Windows/Linux apps.

ui_surface_radius scales the resting corner rounding of every surface at once - the window, the top bar, the super-action tiles, the controls. Range 0 to 2.5, default 1.5; 0 gives square corners. One multiplier rather than a radius per surface, so they cannot disagree with each other. Settings → Appearance → Corner Radius.

Background Image#

ini
ui_background_image=~/look_bg.png
ui_background_image_mode=fill
ui_background_image_opacity=0.5
ui_background_image_blur=10
KeyOptions
ui_background_image_modefill, fit, tile, stretch

Settings Panel#

ini
settings_blur_multiplier=0.8

Search Bar Slot#

ini
bar_slot=running
pinned_apps=
bar_script=
KeyValue
bar_slotWhat the right end of the search bar holds: running, pinned, todo, script or none
pinned_appsComma-separated app ids, in bar order. Written for you by Pin to bar
bar_scriptA one-liner (date +"%H:%M %a %d") or the path to a script. Its first line of output shows in the bar. Runs in your login shell when the launcher opens or the config reloads, 2 seconds at most

Only running and pinned take the Cmd/Alt+1..9 digits. A config with no bar_slot follows the older running_apps_placement (none = nothing, anything else = running apps). See Home Screen.

Row Digits#

ini
row_digits=true

The digit badges on result rows. false hides them; Ctrl+1..Ctrl+9 still open the rows.

Christmas#

ini
christmas_decorations=false
christmas_snow=1

Falling snow, glowing lights and a snowman in the search bar, over any theme. christmas_snow is 1, 1.25, 1.5 or 2 times the default snowfall.

Window Layout#

ini
layout=split

split is the full window, results beside a preview. compact is Spotlight-width with the results list alone: no preview, running-apps strip, super actions, hint bar or command sidebar, so Cmd/Ctrl+K opens a row's actions over the list instead. Switching resizes straight away, no restart. Settings → Appearance → Window, or the session-only chord in Keyboard Shortcuts.

Super Actions#

ini
super_actions_enabled=false

Shows the control strip on the empty home screen. Off by default since 0.7.2. false hides it and disables its letter shortcuts.

Which tiles are on the strip, where they sit, and any tiles of your own are not in this file. They are a drawing in ~/.look/super-actions.toml, seeded on first run and reloaded with Cmd/Ctrl+Shift+; - see Arranging the Strip.

Blur Behind Window#

ini
ui_compositor_blur=

Linux and Windows. Whether Look asks for blur behind the window. The ask exists on KDE Plasma 6.7+, Hyprland 0.56+, niri, and Windows 11 with transparency effects on; elsewhere the key does nothing. Unset means on in a Plasma session and on Windows 11, off everywhere else.

With the frost on, ui_blur_opacity thins the tint so more of it shows through; with no frost, tint opacity alone decides the window alpha. Settings → Advanced → Rendering → Blur behind window.

On Windows 11 it needs Transparency effects on in Windows Settings → Personalization → Colors. Windows 10 has no frost.

niri answers with xray blur by default: one blurred copy of the wallpaper reused behind every window, so the frost never picks up the windows below. For real frost, add a rule:

kdl
layer-rule {
    match namespace="^lookapp$"
    background-effect { xray false; }
}

Leave blur out of the block: Look already asks over the protocol, and niri's own blur frosts the gaps between the floating panes.

Animations#

ini
animations_enabled=true

The launcher's motion: the arrival, the entrance staggers, the selection glide, the caret glide. false shows every change instantly. The caret still blinks and the answer spinner still turns, since those report state rather than movement.

With it on, your system's reduce-motion preference still applies (macOS Reduce Motion, the desktop's own setting on Linux). Windows is the exception: its flag follows the "best performance" visual-effects preset rather than motion sensitivity, so Look keeps its motion there until you flip this key.

Shortcuts#

ini
shortcut_main_copy=ctrl+shift+c
shortcut_main_actions=ctrl+k | ctrl+j
shortcut_view_reload_config=ctrl+alt+r

Every in-app chord is rebindable on macOS, Windows and Linux. The usual way is Settings → Shortcuts, which writes these keys for you; the file is here so a dotfiles repo can carry them.

  • The key name follows the row in Settings → Shortcuts: shortcut_<group>_<action>, the same on every platform (shortcut_main_copy, shortcut_view_reload_config, shortcut_todo_redo).
  • The value uses the launcher_hotkey grammar: modifiers cmd/win, ctrl, alt/option, shift plus one key, and Shift-only chords on keys that type nothing, like shift+enter.
  • Several chords for one action are separated by | (a comma would be a key).
  • Only rebound shortcuts appear in the file; a row restored to its default is removed on save. A chord Look cannot parse is ignored and the shortcut keeps its default.
  • The keys that structure navigation (Enter, Tab, Escape, the arrows, Y/N) are not rebindable.

File-Only Settings (No Settings UI)#

These keys have no control in the Settings screens - edit ~/.look/config directly, then reload with Cmd/Ctrl+Shift+;, or restart Look. Out-of-range or unparseable values fall back to the listed default. More keys will be added here over time.

ini
clipboard_history_limit=10
clipboard_image_limit=20
todo_task_limit=3
launcher_hotkey=ctrl+space
query_retention_seconds=5
translate_languages=vi,en,ja
hints_enabled=true
search_placeholder=Type whatever you want
KeyDescriptionDefault
clipboard_history_limitClipboard history size for c" mode (range 10-100)10
clipboard_image_limitHow many copied images ci" keeps (range 5-50). Each one is a PNG on disk20
todo_task_limitUnfinished tasks todo accepts per day (range 1-20). Lowering it keeps the tasks already there3
launcher_hotkeyGlobal shortcut that shows and hides Look. Modifiers cmd/win, ctrl, alt/option, shift plus one key: a letter, digit, space, enter, tab, esc, f1-f20, or a symbol key such as backtick. Examples: ctrl+space, alt+shift+space, f13. none stops Look registering any key, so you can bind lookapp --toggle yourself (skhd, AutoHotkey, your desktop's own shortcuts). Linux accepts only none and applies it on restart. An invalid value falls back to the default and the reload banner says why. This one does have a control: Settings → Shortcuts records it on macOS and Windowscmd+space on macOS, alt+space on Windows and Linux
query_retention_secondsHow long the main query survives while Look is hidden. The first open past it starts on the empty home screen. 0 clears on every hide; any negative value keeps the query indefinitely5
translate_languagesComma-separated language codes for the t" translation panel, one result section each, in this order. At most three; anything past the third is dropped. Built-in codes: ar, bn, de, en, es, fa, fr, hi, id, it, ja, ko, nl, pl, pt, pt-br, ru, sv, th, tr, uk, vi, zh, zh-cn, zh-tw. An unknown code is dropped; an empty or all-invalid list falls back to the defaultvi,en,ja
hints_enabledThe hint line along the bottom of the launcher, with its Todo tally, and the author link. false hides all of them on every screentrue
search_placeholderThe text in the empty search field, shown exactly as written. Leave the value empty to show no placeholder. As with every value, a # starts a commentType whatever you want
shortcut_<group>_<action>A rebound in-app chord, see Shortcutsthe shipped chord
text_editor code_editor terminal file_managerThe tools Cmd/Ctrl+E / Cmd/Ctrl+T / Cmd/Ctrl+F act through - see Preferred Tools. Undeclared means the system defaultnone

Ignored File Patterns#

Exclude noisy files from the index with gitignore-style path globs:

ini
# ignored_patterns_<group>=Pattern1|Pattern2
ignored_patterns_browser=~/AppData/Local/BraveSoftware/**/*.log|~/AppData/Local/Google/Chrome/**/*.tmp
ignored_patterns_sqlite=~/Documents/git/project/**/*.db-wal|~/Documents/git/project/**/*.db-shm

Group patterns under any ignored_patterns_<group> key (the <group> label is free-form); all ignored_patterns_* entries are merged together.

  • Glob syntax: *, **, ?, [abc]; separate patterns within a key with |
  • macOS/Linux use / paths (~/Library/...); Windows uses native absolute paths. ~ expands to your home directory before matching
  • Patterns match files only - they do not exclude folders from traversal

Search Aliases#

Define aliases to map search terms to related apps:

ini
alias_note=Notion|Obsidian|Notes|Apple Notes|Bear|Logseq
alias_code=Visual Studio Code|VSCode|Cursor|Windsurf|IntelliJ IDEA|PyCharm|WebStorm|Neovim|Xcode|Zed
alias_term=Terminal|iTerm|iTerm2|Ghostty|WezTerm|Alacritty|Kitty|Warp
alias_chat=Slack|Discord|Telegram|Messages
alias_music=Spotify|Apple Music|Music
alias_brow=Safari|Arc|Google Chrome|Chrome|Firefox|Brave

Alias behavior:

  • Aliases apply to app + System Settings search only
  • Aliases boost matching apps but don't create synthetic results
  • If an aliased app is not installed, no error is shown
  • Keep lists short (5-10 targets) for best results

Troubleshooting#

Stuck on something not covered here? Ask in #help on the Look Discord, tagged with your OS. A bug you can reproduce belongs in GitHub issues.

Look Won't Open#

Hotkey Doesn't Open Launcher#

  1. Check Spotlight shortcut conflict (macOS):
    • System Settings → Keyboard → Keyboard Shortcuts... → Spotlight
    • Disable or rebind "Show Spotlight search"
  2. Relaunch Look and try again
  3. Check if app is running:
bash
ps aux | grep -i look

Launcher Opens Behind Another Window#

This is usually a focus-handoff timing issue. Hide the launcher (Escape) and reopen. If it reproduces consistently, please file an issue with your OS version.

First Launch Issues (macOS)#

Current releases are signed and notarized. If you still encounter Gatekeeper issues:

  1. Confirm you installed a recent release
  2. Check System Settings → Privacy & Security for any blocks
  3. Legacy workaround (older builds only):
    • Right-click app → Open → confirm
    • Or use Privacy & Security → Open Anyway

Blank or Missing Window on NixOS#

If Look runs but no window appears and the log says EGL_BAD_PARAMETER, your graphics driver is newer than the nixpkgs Look was built against. Make the flake input follow your own nixpkgs so Look builds locally:

nix
look = {
  url = "github:kunkka19xx/look";
  inputs.nixpkgs.follows = "nixpkgs";
};

Look Shows in the Taskbar or Behind a Fullscreen Window (Linux)#

On a compositor with wlr-layer-shell (KDE Plasma, sway, niri, Hyprland) Look is an overlay surface: above fullscreen windows, out of the taskbar and Alt+Tab, with no extra package. GNOME has no layer shell, so there Look is an ordinary window that GNOME places and lists in the dock while it is open.

App Crashed#

Crashes on Windows/Linux show a native dialog and append to a crash log:

  • Linux: ~/.local/state/look/crash.log
  • Windows: %LOCALAPPDATA%\look\crash.log

Please attach the last lines of that file when filing an issue.

Results Are Wrong or Missing#

Results Seem Stale or Incomplete#

  1. Reload configuration: Cmd/Ctrl+Shift+;
  2. Check scan settings in ~/.look/config:
    • file_scan_roots
    • file_scan_depth (range: 1-12)
    • file_scan_limit (range: 500-50000)
  3. Verify exclude rules aren't too broad
  4. Keep lazy_indexing_enabled=true and use Cmd/Ctrl+Shift+; to force refresh
  1. Check app_scan_roots includes the app's location
  2. Verify app_exclude_names doesn't exclude it
  3. Reload config: Cmd/Ctrl+Shift+;

No Answer Card for Questions#

  • Web answers may be turned off - check Settings → Advanced, or ai_enabled in ~/.look/config
  • Prefix queries (a", f", :cmd, ...) intentionally never trigger web lookups

Translation Returns Warnings/No Result#

  • Confirm network connectivity; corporate proxies and VPNs can block the translation endpoints
  • Google Translate answers first. When it throttles your address, MyMemory steps in, capped at about 5,000 characters per day per IP address and shared across every language in translate_languages. Once that is spent the sections report a rate limit until a service accepts requests again
  • Text longer than about 1,600 characters is too much for the MyMemory fallback, so while Google is throttling you the sections ask for a shorter selection

A Declared Source or Connector Shows Nothing#

Open Settings → Extend. It lists every file Look loaded, what failed to parse, what each block needs on this machine (a folder that is not there, a program that is not installed), whether a block is turned off, and for a connector whether it is running and its last errors. See The Extend screen.

Warning Banners#

Look surfaces setup problems instead of failing silently. A sticky banner appears when, for example, the global hotkey could not be registered or the GNOME Shell extension needs a re-login to load. Dismissing a notice is remembered, so the same issue won't nag on every launch. The crash log location is under App Crashed.

Look Shows a Warning Banner#

Look surfaces setup problems in a sticky banner inside the launcher instead of failing silently. The two common ones:

  • Global hotkey could not be registered - another app owns the shortcut. On GNOME Wayland, Look frees the default Alt+Space window-menu binding automatically; elsewhere, give Look a different key (Settings → Shortcuts, or launcher_hotkey in ~/.look/config) or close the conflicting app.
  • GNOME extension needs a re-login (Linux) - the bundled GNOME Shell extension loads only after logging out and back in once after install.

Dismissing a banner is remembered, so the same issue won't reappear on every launch.

Settings Didn't Apply#

A Config Change Was Ignored#

  • Look reads ~/.look/config at launch; after editing manually, reload with Cmd/Ctrl+Shift+; or restart Look.
  • Confirm you edited the active config path. LOOK_CONFIG_PATH overrides ~/.look/config when set.

Reset Configuration#

To reset to default configuration:

  1. Open Settings (Cmd/Ctrl+,)
  2. Go to Advanced → "Create Fresh Config"
  3. Confirm the action (press Y)

This replaces your current ~/.look/config with the latest default template.

Performance and Display#

High CPU or Slow First Launch#

The initial index scan is a one-time cost; subsequent launches use the cached SQLite index. If you have very large user directories, lower file_scan_depth and file_scan_limit in ~/.look/config.

Inspecting Local State#

Need to Inspect Local DB#

Query the local SQLite database to inspect indexed candidates:

bash
# macOS
sqlite3 "$HOME/Library/Application Support/look/look.db" \
  "SELECT id,title,use_count FROM candidates ORDER BY use_count DESC LIMIT 20;"

# Linux
sqlite3 "$HOME/.local/share/look/look.db" \
  "SELECT id,title,use_count FROM candidates ORDER BY use_count DESC LIMIT 20;"

Connectors#

The contract for connecting an app to Look. If you are adding rows for yourself rather than shipping an app, you want Declared Sources instead: everything there works without writing a program.

A connector is a program Look starts once and leaves running. It sends rows whenever it likes and they appear without a reload, and it fills the panel for the rows it sent. Look never blocks on it: slow, silent or dead, your rows are simply the last ones you sent.

Protocol version: 1.

Installing a Manifest#

Write a TOML manifest into ~/.look/connectors/. Name the file after your app, because every block in it is namespaced by the file name: myapp.toml declaring [records] is the block myapp.records.

toml
[records]
name    = "Records"
aliases = ["rec"]
icon    = "🗂️"
connect = "/Applications/MyApp.app/Contents/Helpers/look-connector"

Look reads the directory at launch and on a reload (Cmd/Ctrl+Shift+;). On Windows and Linux it also notices a manifest written, changed or deleted while it runs and reloads by itself; on macOS a manifest installed while Look runs waits for the next reload or launch.

Uninstall by deleting the file. A user can also turn your manifest off from Settings → Extend, which writes enabled = false into every block in it, so read the file before you overwrite it: rewriting it undoes that choice. LOOK_CONNECTORS_DIR repoints the directory, if your tests want one of their own.

Everything else a block can declare is in the Key reference. A manifest may declare several blocks, and one program may serve all of them. Its then may only name blocks in the same manifest.

Speaking#

One JSON object per line, on stdin and stdout. Flush after every line: a buffered frame is a frame that never arrives.

Look opens with a hello, and you answer when you have something to say:

json
look → {"op":"hello","v":1,"look":"..."}
you  → {"op":"ready","capabilities":["rows","preview"]}

Read the protocol version from v.

Frames Look sends#

FrameWhen
{"op":"hello","v":1,"look":"..."}Once, on start
{"op":"preview","block":"myapp.records","id":"r1","req":7}A row of yours is selected
{"op":"plan","block":"...","verb":"archive","ids":["r1"],"plan":7}A verb of yours was picked on those rows
{"op":"run","block":"...","plan":7}The user confirmed that plan
{"op":"state","block":"...","control":"lamp","req":9}Where a control of yours stands
{"op":"press","block":"...","control":"lamp","req":10}The user pressed it
{"op":"bye"}Look is closing you down

Frames you send#

FrameMeaning
{"op":"ready","capabilities":[...]}You are up
{"op":"rows","block":"myapp.records","rows":[...]}These are the block's rows now
{"op":"preview","block":"...","id":"r1","req":7,"content_type":"markdown","text":"..."}The answer to a preview ask
{"op":"planned","block":"...","plan":7,"title":"Archive 2 notes","detail":"a.md, b.md"}What the verb would do: the question the user reads
{"op":"result","block":"...","plan":7,"ok":true,"summary":"Archived 2 notes"}How running it went
{"op":"state","block":"...","control":"lamp","req":9,"on":true}The answer to a state or press
{"op":"error","message":"could not reach the server"}A complaint, logged under your block

A row is {"id": "...", "title": "...", "subtitle": "...", "path": "...", "icon": "..."}, where only id is required: the same fields a JSON row from a run block uses. content_type is text or markdown; left out, or one Look does not know, it is text.

Logging#

Write your own logging to stderr. Look reads it line by line and repeats each line in its own log, prefixed with your block, so starting up becomes look connectors: [myapp.records] starting up. A line longer than 4 KB continues on the next one. An error frame lands in the same log.

Both also show under your block in Settings → Extend, but only there: nothing pops up in the launcher, so do not use one to tell somebody their credentials expired.

Offering a Verb#

Declare it beside the rows it acts on, and list it in then:

toml
[records]
connect = "..."
then    = ["archive"]

[archive]
name = "Archive"
ask  = "archive"

It appears in the action menu (Cmd/Ctrl+K) of that block's rows, and only those: a verb reaches the connector that owns the row, so it cannot be declared with applies. Picking it asks you to plan, and your title and detail become the confirmation, which can name the rows in a way a declared confirm string cannot.

The confirmation starts on Yes, since the question already names what will happen. Say so in the title if the verb cannot be taken back. There is no undo.

Offering a Control#

A block's rows can carry a switch or a button that you supply:

toml
[records]
connect = "..."
control = { id = "sync", kind = "toggle", title = "Syncing", on = "On", off = "Off" }

kind is toggle (the default) or button. Look asks for its state when a row is selected and sends press when it is pressed. Answer a press with where the control ended up, not with what was asked: you may refuse. Look moves the switch the moment it is pressed and corrects it when you answer.

On a row that has nothing else to do, Enter presses the control.

You may only supply a control Look does not already have. A name the platform owns (bluetooth, wifi, shutdown) is refused and reported, so a manifest cannot put the machine's Bluetooth under a row that looks like a note.

A user can also put your control on the home-screen strip by naming it <block>#<control> in their own ~/.look/super-actions.toml: see Tiles of Your Own.

The Rules#

  • A `rows` frame nobody asked for is a push. Send one whenever your data changes, and send the same rows again as often as you like: Look compares them with what it last wrote.
  • Echo the number on every answer: req on a preview or a state, plan on a planned or result. An answer without it is dropped, and Look says so.
  • You may only speak for blocks in your own manifest. Look drops frames that try, and says so.
  • An `op` Look does not know is ignored, never fatal. Hold yourself to the same rule: a newer Look will send frames you have not heard of.
  • Nothing blocks on you. A late preview is not shown, so answer from memory rather than going to the network.
  • If you exit, your rows stay and Look starts you again the next time the launcher opens. A connector that keeps dying on start is backed off, up to ten minutes between tries.
  • Read your stdin, even if you have nothing to answer. A connector that stops reading fills its pipe: previews and control states are then dropped, and a press or a run can reach you long after the user gave up. Do not treat a late press or run as a duplicate.
  • Push on change, not on a timer. Every push makes Look re-read the declared sources; it rate-limits that, but cannot make it free.

Limits#

One frame1 MiB. Past that Look drops you
Rows per block2,000. The rest are not stored
Preview text64 KiB, truncated on a character boundary
Preview answerAbout 400ms before the panel gives up on it
Control stateAbout 400ms
Control pressAbout 1.5s
Plan answerAbout 1.5s
Run answerAbout 5s, after which Look assumes it is still going

Finding Out What Went Wrong#

Settings → Extend, under your block. A block that is down says why on the same line, followed by your last few complaints: anything you wrote to stderr, an error frame, a spawn that failed, a frame over the cap, a frame for a block outside your manifest, or an answer with no number. So forgetting to echo req says so instead of showing an empty panel.

A Worked Example#

`core/engine/src/refcon.rs` is a complete connector in about a hundred lines: it answers the hello, pushes rows, answers previews with markdown and echoes req. It is also the fixture the connector tests spawn, so it cannot drift from what Look expects.

From a checkout of the repo:

bash
cargo build --manifest-path core/Cargo.toml --bin refcon

cat > ~/.look/connectors/reference.toml <<EOF
[notes]
name    = "Reference rows"
aliases = ["ref"]
connect = '"$(pwd)/core/target/debug/refcon" reference.notes serve'
then    = ["archive"]

[archive]
name = "Archive"
ask  = "archive"
EOF

Reload, then type ref. Two rows arrive as a push, selecting one shows its markdown preview, and Cmd/Ctrl+K then Archive asks the connector to plan. Delete the file to uninstall.

The full contract, including what is designed but not sent yet, is docs/integrating.md in the repo.

Development#

Building from Source#

Requirements#

  • macOS: macOS 15.0+, Xcode, plus the Rust nightly toolchain for the FFI phase
  • Windows: Visual Studio 2022 Build Tools (Desktop C++ workload)
  • Linux: xkbcommon, xcb, wayland, alsa, dbus, openssl, fontconfig, freetype dev packages, or nix develop on NixOS
  • All platforms: Rust stable toolchain and GNU Make

Per-distro package lists, the Windows vcvars setup, and packaging live in BUILDING.md.

Repository Structure#

look/
├── apps/macos/                # SwiftUI shell (macOS), Xcode project
├── apps/linows/               # Linux + Windows app, binary lookapp
│   ├── gpui/                  # The shell: window, screens, keys (gpui)
│   └── backend/               # Everything that is not drawing (shared)
├── core/                      # Rust workspace (shared)
│   ├── engine/                # Search, indexing, config, connectors
│   ├── matching/              # Fuzzy matching
│   ├── ranking/               # Result ranking
│   ├── storage/               # SQLite storage
│   ├── answers/               # Web answers and translation
│   ├── calc/                  # Calculator expressions
│   ├── markdown/              # Markdown for the preview pane
│   ├── sources/               # Declared sources and connector frames
│   ├── qactions/              # Super action catalog
│   ├── tools/                 # Preferred tools
│   └── todo/                  # Shared todo backend
├── bridge/ffi/                # Swift-Rust FFI (macOS)
├── packaging/                 # Nix modules, desktop entry, AUR, Windows installer
├── flake.nix                  # Nix packages, modules, the Linux dev shell
└── docs/                      # Documentation

Build Commands#

bash
# Check Rust core workspace
cd core
cargo check --workspace

# Check FFI bridge (macOS)
cd bridge/ffi
cargo check

# Run macOS dev app
make app-run

# Run the linows app (Windows/Linux)
cd apps/linows
cargo run                 # release profile: cargo run --release
# NixOS: nix develop -c cargo run
# Windows: make app-run from the repo root wraps cargo in the VS 2022 environment

# Audit every Cargo.lock, as CI does (cargo install cargo-audit)
make audit

A debug lookapp keeps its own config and database, and a second launch hands its arguments to the running instance, so quit the installed Look before testing a dev build. lookapp --version prints the build's version.

Dev App Behavior#

make app-run:

  • Builds local app bundle with Xcode (Debug)
  • Stops any running Look process (including a Homebrew-installed instance)
  • Launches with LOOK_CONFIG_PATH=$HOME/.look/config.dev
  • Shows red TEST APP badge for visual distinction

Side-by-Side Dev Build#

make app-run-dev installs /Applications/Look Dev.app with a separate bundle id (noah-code.Look.Dev), so the Homebrew-installed Look.app stays untouched:

bash
make app-run-dev

Override the dev config path when needed:

bash
make app-run DEV_CONFIG_PATH="$HOME/.look.qa.config"
make app-run-dev DEV_CONFIG_PATH="$HOME/.look.qa.config"

Running Tests#

bash
# Rust tests
cd core
cargo test --workspace

# FFI bridge tests
cd bridge/ffi
cargo test

# linows, when touching apps/linows
cargo clippy --workspace --all-targets --manifest-path apps/linows/Cargo.toml -- -D warnings
cargo fmt --all --manifest-path apps/linows/Cargo.toml -- --check

Benchmarks#

Benchmarks live in a separate tools/perf crate (never bundled into a shipped binary):

bash
cd tools/perf
cargo run --release --bin query_engine_bench     # query throughput + fuzzy scoring
cargo run --release --bin scoped_refresh_bench   # per-call refresh latency
cargo run --release --bin watcher_stress         # simulated event streams

Snapshots land under docs/bench-notes/ - add a new snapshot when scoring, matching, or indexing changes.

Architecture Overview#

Look uses a shared Rust core with platform-specific UI shells:

  • macOS: SwiftUI shell communicating with the Rust engine via FFI
  • Windows + Linux: a GPU-drawn gpui shell over a shared backend crate that depends on the core crates directly, with no browser engine in the process
  • Rust Engine: Fast search and indexing, shared across all platforms
  • SQLite Storage: Local database for candidates, usage data, and todo tasks

Core Components#

  1. Search Engine: Handles fuzzy matching and ranking
  2. Index Manager: Manages file/app indexing
  3. Storage Layer: SQLite for persistence
  4. Answers: Shared web answer sources (DuckDuckGo, Wikipedia, currency/weather/crypto)
  5. FFI Bridge: Swift-Rust communication (macOS)
  6. linows backend: in-process Rust calls from the gpui shell (Windows/Linux)

Contributing#

Contribution flow:

  1. Branch from main - it is the only long-lived branch
  2. Open PRs into main, and keep branches short-lived so they stay easy to rebase
  3. Run local checks before opening a PR: bash cargo test --workspace --manifest-path core/Cargo.toml cargo test --manifest-path bridge/ffi/Cargo.toml # if a Cargo.lock changed make audit # if touching linows cargo clippy --workspace --all-targets --manifest-path apps/linows/Cargo.toml -- -D warnings cargo fmt --all --manifest-path apps/linows/Cargo.toml -- --check
  4. Open an issue first for anything beyond a small fix (a feature, a new source or integration, a UI change, a new dependency), and link it from the PR
  5. Update docs when user-visible behavior changes

See CONTRIBUTING.md and DEVELOPMENT.md for details.