Browser, clipboard and system

Lightspot also finds the web pages you have open or saved, text you copied a minute ago, the System Settings pane or setting you are looking for, everyday actions like locking the screen, the macOS tweaks developers keep in their dotfiles, and installers for two of my tools.

Lightspot guide
  1. Overview
  2. Install, update and uninstall
  3. Searching and the app grid
  4. Calculator and conversions
  5. Developer tools
  6. Terminal history and projects
  7. Custom commands, web search and snippets
  8. Browser, clipboard and system
  9. Clean Dev Mac
  10. Mac Tweaks
  11. Turning off Apple Spotlight
  12. Menu bar and settings
  13. Privacy
  14. How Lightspot works

Browser tabs, bookmarks and history

Type two or more letters of a page title or address. Matching pages appear under Browser History & Bookmarks, up to six, and ↵ opens the page in your browser. Each row says whether it is an Open Tab, a Bookmark or from History; when a page is all three, the open tab wins.

Typing swift: an open Chrome tab as Top Hit, two bookmarks, a terminal command and a web search

Lightspot reads only your default browser (the one macOS opens links with) and only its default profile:

BrowserBookmarksHistory
Google Chrome…/Google/Chrome/Default/Bookmarks…/Google/Chrome/Default/History
Brave…/BraveSoftware/Brave-Browser/Default/Bookmarks…/BraveSoftware/Brave-Browser/Default/History
Microsoft Edge…/Microsoft Edge/Default/Bookmarks…/Microsoft Edge/Default/History
Arc…/Arc/StorableSidebar.json…/Arc/User Data/Default/History
Safari~/Library/Safari/Bookmarks.plist~/Library/Safari/History.db
FirefoxNewest backup in Profiles/…/bookmarkbackupsProfiles/…/places.sqlite

Paths starting with … are inside ~/Library/Application Support. With another default browser, Lightspot shows no bookmarks or history.

  • History covers the last 7 days by default, up to 1,500 pages. Change it to 3 days or turn it off in the menu: Browser History. The database is opened read-only, in place.
  • Open tabs are asked from the browser through AppleScript, only while it is running, so macOS asks once whether Lightspot may control it.
  • Tabs are refreshed when they are older than five seconds, bookmarks every two seconds at most (only when the file changed), and history every ten seconds, all in the background so typing never waits for them.
Typing kubernetes: a bookmark as Top Hit and a history entry below it

Clipboard history

While Lightspot runs, it remembers the last 50 texts you copied. Type clip (or clipboard) to see the eight most recent, or clip followed by a word to search them; ↵ copies the entry again. Entries also show up for normal queries when they contain the text you typed.

Typing clip lists the most recent clipboard entries with their lengths
clip staging finds a copied kubectl command
  • The history lives only in memory: it is never written to a file, and quitting Lightspot or choosing Clear Clipboard History in the menu empties it. Copying an entry back is not recorded in search history either.
  • Only text is kept, not images or files. Copying the same text again moves it to the top.
  • Copies marked as concealed by password managers are skipped: the pasteboard types org.nspasteboard.ConcealedType, com.agilebits.onepassword and those of a few clipboard and snippet tools.

System Settings

Lightspot opens 46 System Settings panes directly. Search by the pane name or by a related word: wifi, airpods, dark mode, filevault…

Typing display: Displays as Top Hit, then Screen Saver and Lock Screen panes, a quick action and a custom command
PaneAlso found by
Apple Accountapple id, sign in, subscriptions, payment
iCloudicloud drive, photos, keychain, find my, private relay
Familyfamily sharing, parental controls, ask to buy
Wi-Fiwifi, wireless, ssid, hotspot
Bluetoothbt, airpods, headphones, pair
Networkethernet, dns, proxy, firewall
VPNwireguard, ikev2, ipsec, tunnel
Notificationsalerts, badges, banners, dnd
Soundaudio, volume, output, microphone
Focusdo not disturb, dnd, work, personal
Screen Timedowntime, app limits, parental controls
Generalinfo, system
Aboutabout this mac, serial number, chip, macos version
AirDrop & Continuity¹airdrop, handoff, airplay receiver, universal clipboard
Login Itemsstartup items, open at login, background items, launch agents
Language & Regionlanguage, locale, number format, temperature unit
Device Managementprofiles, configuration profiles, mdm
Appearancedark mode, light mode, accent color
Accessibilityvoiceover, zoom, captions, contrast
Menu Bar¹control center, status bar, battery percent, clock
Apple Intelligence & Siri²siri, dictation, writing tools, chatgpt
Spotlightsearch, indexing, privacy
Privacy & Securitylocation, camera, filevault, gatekeeper
Desktop & Dockdock, stage manager, hot corners, widgets
Displaysmonitors, resolution, brightness, night shift
Wallpaperbackground, desktop picture, dynamic
Screen Saver³screensaver, aerial
Batterypower, energy, low power mode, charging
Lock Screenpassword required, screen off, inactive
Touch ID & Passwordfingerprint, change password, apple watch unlock
Users & Groupsaccounts, admin, guest user
AutoFill & Passwords¹keychain, passkeys, 2fa, verification codes
Internet Accountsgoogle, mail, exchange, imap
Game Centergames, friends, achievements
Wallet & Apple Payapple pay, cards, express transit
Keyboardshortcuts, text replacement, input sources
Trackpadgestures, tap to click, natural scrolling
Mousetracking speed, secondary click
Printers & Scannersprint, scan, airprint
Software Updatemacos update, upgrade
Storagedisk, ssd, free space, manage storage
Date & Timeclock, timezone, 24-hour
Sharingfile sharing, screen sharing, remote login
Time Machinebackup, restore, snapshots
Startup Diskboot, boot drive, target disk mode
Transfer or Reseterase all content, factory reset, migration

¹ Before macOS 26: AirDrop & Handoff, Control Center and Passwords. ² Siri on Intel Macs and before macOS 15.1. ³ On macOS 26, where Screen Saver moved into Wallpaper, it opens Wallpaper.

The words System Settings’ own search knows

Lightspot also finds a pane by the settings inside it, using the same terms as the search field of System Settings. Every pane ships a list of its settings with the words that find them; Lightspot reads these lists at launch, in your languages and in English, and the row then names the setting that matched: lockdown finds Privacy & Security → Lockdown Mode, sticky keys finds Accessibility → Sticky Keys.

Typing lockdown: Privacy & Security as Top Hit, its subtitle ending in Lockdown Mode

A setting’s title counts more than the extra words listed with it, many of which are generic (show, top), so such a word alone never makes a pane the Top Hit.

On macOS 27.2, System Settings sometimes quits without LaunchServices noticing, and for a minute or more opening any of its panes showed an alert that it is not open anymore. Lightspot checks for that itself. Since 1.4.1 it opens the pane in the System Settings that is running and starts one only when none is, so you get one System Settings in the Dock. 1.4.0 started a new one instead, and quit one that was still running to do so; on macOS 27.2 each quit left one more System Settings icon in the Dock. This goes for every pane Lightspot opens, the System Settings app row and links to x-apple.systempreferences: URLs.

Quick actions

Quick actions are built-in commands, found by name or by the words in the second column. ↵ runs them. The ones marked admin ask for Touch ID or your password; see sudo with Touch ID.

Typing dark mode: the Appearance pane as Top Hit and Toggle Dark Mode under Quick Actions
ActionFound byWhat it does
Lock Screenlock, screenLocks the screen (⌃⌘Q through System Events)
Sleepsleep, suspendpmset sleepnow
Restartrestart, rebootAsks System Events to restart
Shut Downshutdown, power offAsks System Events to shut down
Empty Trashtrash, binAsks Finder to empty the Trash
Toggle Dark Modedark mode, light mode, themeSwitches between Dark and Light
Mute Audiomute, volume, soundMutes the output
Unmute Audiounmute, volumeUnmutes the output
Take Screenshotscreenshot, capture, snipscreencapture -ui
Activity Monitortask manager, cpu, processesOpens Activity Monitor
Force Quitforce quit, killOpens the Force Quit Applications window
Flush DNS Cacheflush dns, dnsdscacheutil -flushcache; killall -HUP mDNSResponder (admin)
Purge Inactive Memorypurge, free rampurge (admin)
Show Desktopdesktop, hide windowsHides every app except Finder
Open Downloadsdownloads, dlOpens ~/Downloads
New Finder Windowfinder window, browseOpens a Finder window
IP Addressip, my ip, public ipShows and copies your IP addresses
Terminal in Finder Folderterminal here, term hereOpens your terminal in the Finder folder
Toggle Touch ID for Sudotouch id, sudo, pamTurns Touch ID for sudo on or off (admin)

Several actions work through AppleScript, so macOS asks once whether Lightspot may control System Events or Finder. The hardware readout, the process killer, Clean Dev Mac and Mac Tweaks also appear in this section, and so do the tweaks and installers below.

macOS tweaks

Fifteen tweaks of the kind developers keep as defaults write one-liners in their dotfiles, as quick actions. Each toggle reads the current value and writes the opposite, so the same row turns a setting back. None needs an administrator password. For 41 more settings, each with its state and undo, for the disk space macOS keeps and for other apps’ launch agents and daemons, see Mac Tweaks.

Typing clear dock: Clear Dock Icons as Top Hit, “Remove every app pinned to the Dock, then restart it”
TweakFound byWhat it changes
Clear Dock Iconsclear dock, empty dock, remove dock iconsSaves com.apple.dock persistent-apps to dock-backup.plist, then empties it and restarts the Dock
Restore Dock Iconsrestore dock, undo clear dock, put back dock iconsPuts the backup’s icons back where they were, restarts the Dock, checks the icons and only then deletes the backup
Restart Dockrestart dock, fix dockkillall Dock
Toggle Dock Auto-Hidedock autohide, hide dock, show dockAsks System Events to flip the Dock’s auto-hide
Toggle Instant Dock Auto-Hideinstant dock, dock delay, dock speedcom.apple.dock autohide-delay 0 and autohide-time-modifier 0.15, or deletes both
Toggle Dock Recent Appsdock recents, show recentscom.apple.dock show-recents
Toggle Hidden Files in Finderhidden files, show dotfilescom.apple.finder AppleShowAllFiles, relaunches Finder
Toggle File Extensions in Finderfile extensions, show extensionsNSGlobalDomain AppleShowAllExtensions, relaunches Finder
Toggle Finder Path Barpath bar, show path barcom.apple.finder ShowPathbar
Toggle Desktop Iconsdesktop icons, presentation modecom.apple.finder CreateDesktop, relaunches Finder
Restart Finderrestart finder, fix finderkillall Finder
Toggle Screenshot Shadowsscreenshot shadow, window shadowcom.apple.screencapture disable-shadow
Toggle .DS_Store on Network & USB Drives.ds_store, network drives, usb drivescom.apple.desktopservices DSDontWriteNetworkStores and DSDontWriteUSBStores
Toggle Press-and-Hold Accentskey repeat, press and hold, vim key repeatNSGlobalDomain ApplePressAndHoldEnabled; apps pick it up when relaunched
Toggle Smart Quotes & Dashessmart quotes, curly quotes, smart dashesNSGlobalDomain NSAutomaticQuoteSubstitutionEnabled and NSAutomaticDashSubstitutionEnabled

The Dock and Finder tweaks restart the Dock or Finder so the change shows at once; Finder windows come back after a restart.

Clear Dock Icons saves the Dock’s icons to ~/Library/Application Support/Lightspot/dock-backup.plist before it removes them, and removes nothing when it can’t save them. Clearing again before a restore keeps the first backup and adds only the apps it lacks. Restore Dock Icons puts them back: into an empty Dock exactly as they were, otherwise the missing apps at their old places, keeping icons you added since. Both wait until a Dock that has just started has run for 8 seconds and shows the same icons twice, half a second apart, because a Dock stopped while it is still starting writes the icons it started with back over the change. Then they write the icons, restart the Dock, check the icons in the Dock that comes up, and try once more if that restart lost them. Restore deletes the backup only once the icons check out; when the Dock loses them twice, when macOS refuses the change, or when no Dock comes up within 20 seconds, the backup stays and the row says which. Without a backup its row says so; Lightspot 1.3.9 and older saved none. A Clear Dock Icons from your search history of 1.3.x runs the new one, with its backup.

Typing dock: Desktop & Dock as Top Hit, two more settings panes, then Toggle Dock Auto-Hide, Toggle Instant Dock Auto-Hide and Toggle Dock Recent Apps

Installing setup-zsh, MacStats and dev tools

Type install or a tool’s name and press ↵: Lightspot runs the tool’s own installer in your terminal, where you see every step and answer its questions. ⌥↵ opens the tool’s page on GitHub instead. The row says whether the tool is already installed, and then offers to update it.

Typing install: Install setup-zsh as Top Hit, marked Installed, with ↵ Update and ⌥↵ GitHub
RowFound byRuns in your terminal
Install setup-zshsetup-zsh, zsh, oh my zsh, autosuggestionscurl -fsSL https://raw.githubusercontent.com/openhoangnc/setup-zsh/main/setup.sh | bash && exec zsh -l
Install MacStatsmacstats, mac stats, menu bar monitorcurl -fsSL https://raw.githubusercontent.com/openhoangnc/mac-stats/main/install.sh | bash
Install Dev Toolsinstall node, install go, install python, install rust, install brew…~/.zsh/setup-zsh/bin/install-dev-tool, after setup-zsh if it is missing

setup-zsh sets up zsh with autosuggestions that match anywhere in your history, syntax highlighting and a git prompt; it keeps the lines you added to ~/.zshrc yourself. MacStats shows CPU, RAM, network speed and CPU temperature in the menu bar. Install Dev Tools opens setup-zsh’s install-dev-tool menu (Homebrew, Node.js, Go, Python and uv, Rust, a JDK, Bun, VS Code, Chrome and more), installing setup-zsh first when it is missing, so install node or install go lead there.

Typing install node: Install Dev Tools as Top Hit, “setup-zsh’s menu: Homebrew, Node.js, Go, Python…”