dmenu-mac for Mac

The latest version of dmenu-mac for Mac is 0.9.0, released . Keyboard-only application launcher.

What's new in dmenu-mac 0.9.0

Search shortcuts, aliases, usage-based ranking, and a short setup on first launch.

Added

  • First-run setup that walks through the hotkey (and the Spotlight conflict), launch at login and terminal programs, and can ask for Automation access to Terminal or iTerm2 up front. Enter continues, Esc skips, and Run Setup Again… in the menu bar reopens it. Existing installs and launches from a shell skip it.
Show 21 more
  • Search shortcuts: type a keyword, a space and a query, such as g swift actors, to search Google, DuckDuckGo, GitHub, YouTube or Wikipedia, ask Claude, ChatGPT or Perplexity, or start Claude Code (cc) or Codex (cx) in your terminal. Edit them in Settings → Shortcuts.
  • Aliases: give any item a short keyword in Settings → Aliases, like ff for Firefox. Typing it puts that item first.
  • Results are ranked by how often and recently you opened them, and the ones you use most come first before you type anything.
  • ⌘ Enter reveals the selected item in Finder, ⌥ Enter copies its path, and ⌃ Enter opens a new instance of the app.
  • Pick the screen the bar appears on in Settings → Appearance: the one with the active window, the one with the mouse pointer, or the primary screen. -m/--monitor ‹n> picks a screen for a single run.
  • Show icons in Settings → Appearance shows app and System Settings icons next to results. Off by default.
  • Available in nixpkgs: nix profile install nixpkgs#dmenu-mac, or pkgs.dmenu-mac in nix-darwin and home-manager.

Changed

  • Launch at Login moved from the menu bar icon to Settings → General.
  • While Setup or Settings is open, dmenu-mac shows in the Dock and the app switcher, so a window that went behind others can be found again. Closing it hands focus back to the app you were in.
  • The bar spans the full width of its screen and stays clear of the menu bar and the Dock on every display, including with the Dock on the side.

What's Changed

  • Document that Homebrew bumps the cask on its own
  • Move Launch at Login to Settings
  • Let the user choose which screen the bar appears on
  • Alternate actions on the selected result with modifier keys
  • Rank results by usage (frecency)
  • Show app icons in the results bar
  • Add web search keyword shortcuts
  • Add user-defined aliases
  • Add a first-run setup wizard
  • Keep appearance tests out of the user's real defaults
  • Add 0.9.0 to the changelog and document Nix

Full Changelog: 0.8.0...0.9.0

Source: github.com

How to update dmenu-mac on your Mac

dmenu-mac version history

  1. 0.37

    No content.

    Source: github.com

  2. 0.9.0
  3. 0.8.0

    The first release in five years, and the first one signed and notarized by Apple: it opens without Gatekeeper warnings and the Homebrew cask works again.

    Added

    • Menu bar icon with Show, Settings, Launch at Login and Quit.
    • Settings window (⌘ ,): General for the hotkey and terminal, Appearance for bar position, opacity, colors, font and size, with Reset to Defaults.
    • The bar can sit at the top or bottom of the screen; -b/--bottom picks the bottom for a single run.
    • System Settings panes show up as results: disp opens Displays, net opens Network.
    • Apps in ~/Applications and in symlinked folders (nix-darwin, home-manager) are found too.
    • Enter runs what you typed as a shell command when nothing matches; Shift Enter does it even when something matches.
    • Optional listing of command-line programs from your $PATH, opened in Terminal, iTerm2, Ghostty, Alacritty, kitty, WezTerm or a custom command.
    • --no-custom for scripts that should only accept items from the list.
    • --exit / --no-exit to choose whether dmenu-mac quits after a selection.
    • Paste and the usual editing shortcuts in the search field.

    Changed

    • Requires macOS 13.5 or later (was 10.13).
    • The launcher no longer steals focus: the app you were in stays in front and gets the keyboard back as soon as the bar closes.
    • Started from a shell or a hotkey daemon such as skhd, dmenu-mac exits after a selection or Esc instead of staying around.
    • Esc on a piped menu prints nothing and exits with status 1, like dmenu.
    • Piped input is read until EOF and decoded as UTF-8, so long lists and non-ASCII items work.
    • The bar stays above the Dock and below the menu bar.
    • Results draw faster.
    • The dmenu-mac command-line wrapper no longer needs python3.
    • The hotkey is handled by KeyboardShortcuts instead of the unmaintained DDHotKey.
    • No longer sandboxed, which is what allows running shell commands and reading the real ~/Applications.

    Fixed

    • Crash when pressing Tab with no results, and an infinite recursion while editing the search field.
    • Search text color is applied to the placeholder and while editing.
    • The search field is cleared when the window hides.
    • The Settings window always comes to the front.
    • Version numbers in the app bundle.

    What's Changed

    • only python3 in MacOS, python2 also EOL
    • Fix broken version numbers
    • Multiple UI improvements
    • chore: Update cicd settings
    • Fix CI trigger to run on main
    • chore: Update xcodeproj settings
    • Update third-party dependencies
    • test: add unit tests
    • Refactor: Add TDD, fix thread safety and memory leaks
    • Add appearance customization settings
    • Remove deprecated DDHotKey library
    • Follow symlinked app directories and scan ~/Applications
    • Exit after selection when started from a shell
    • Add unit tests and fix two bugs found while writing them
    • Keep search window above the Dock
    • Exit with status 1 when a piped selection is cancelled
    • Scan the real ~/Applications under the app sandbox
    • Run typed input as a command when nothing matches
    • Read piped stdin until EOF and decode it as UTF-8 once
    • Keep search window below the menu bar
    • List System Settings panes alongside apps
    • Add menu bar icon with Settings (⌘,) and Launch at Login
    • Make the search bar position configurable
    • Apply search text color to field editor and placeholder
    • Support clipboard paste and editing shortcuts in the search field
    • Disable app sandbox
    • Rebuild settings panes as grouped SwiftUI forms
    • Run command-line programs from $PATH in a terminal
    • Show the launcher as a non-activating panel and reuse it on hotkey
    • Cache results layout and draw only the dirty rect
    • Clear the search field when the window hides
    • Skip dead preference pane stubs and CoreServices agents
    • Always bring the Settings window to the front
    • Add a release process with signing and notarization
    • Rewrite README for users
    • Drop the python3 dependency from the command-line wrapper
    • Publish releases with a curated changelog

    New Contributors

    • @Markus-Be made their first contribution in #36

    Source: github.com

  4. 0.7.2
    • Add dmenu-mac cli shortcut

    Fixes installed CLI on brew was not opening correctly

    Source: github.com

  5. 0.7.1
    • Fix stdin reading issues on some machines

    Source: github.com

  6. 0.7.0
    • Add support for piped input commands (see README)
    • Hide blinking cursor
    • Show "No results" when no results are found

    Source: github.com

  7. 0.6.0

    This release has the following main changes:

    • Change minimum supporter version to 10.13 (deployment target)
    • Add swiftlint linter
    • Show popup on shortcut registration failure
    • Add tabbing support (use Tab and Shift-Tab to navigate results)
    • Update licence headers
    • Show app on app open
    • Some code simplifications and optimizations

    Source: github.com

  8. 0.5.0

    This release has the following main changes:

    • Add new app icon (placeholder) in preparation for AppStore
    • Use fuse-swift project instead of unmaintained FuzzySearch (fixes #13)
    • Update xcodeproject, change bundle ID to com.onaips.dmenu-macos

    Source: github.com

  9. 0.4.0

    No content.

    Source: github.com

  10. 0.4

    Fixed default application finding for Catalina

    Source: github.com

Details

Latest version
0.9.0
Released
Last checked
Website
github.com
Homebrew cask
dmenu-mac