Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Minimize on Close

alberti42alberti421k downloads

Minimizes the app window to an icon after closing the last open pane

Add to Obsidian
  • Overview
  • Scorecard
  • Updates8

This plugin for Obsidian minimizes the application window to the dock or taskbar when all open panes are closed. This behavior is particularly standard on macOS and can now be optionally applied across all platforms.

Features

  • MacOS-Standard Behavior: Automatically minimize the Obsidian window when all open panes are closed, consistent with macOS application behavior.
  • Cross-Platform Support: Works on macOS, Windows, and Linux. You can choose whether to restrict this behavior to macOS or apply it to all operating systems.
  • Configurable Options: Customize the plugin to enable the minimize-on-close behavior only for macOS, or extend it to other platforms based on your preference.
  • Command Palette Support: Includes two commands accessible from the command palette:
    • Minimize to Icon: Minimize the Obsidian window to the dock or taskbar.
    • Exit Obsidian: Completely exit the Obsidian application. These commands can be assigned custom hotkeys for quick access (e.g., "⌘Q" to minimize and "⌘⌥Q" to exit) from the Hotkeys configuration pane.

Installation

From Obsidian Community Plugins

Either copy the link obsidian://show-plugin?id=minimize-on-close into your browser or follow the instructions below:

  1. Open Obsidian.
  2. Go to Settings > Community Plugins > Browse.
  3. Search for Minimize on Close.
  4. Click Install, then Enable.

Manual Installation

Option 1: Download Pre-Built Files

  1. Download the latest release from the GitHub releases page.
  2. In the release, you'll find the main.js and manifest.json files.
  3. Copy both main.js and manifest.json to a new folder in your vault's .obsidian/plugins/ directory (e.g., .obsidian/plugins/minimize-on-close).
  4. Enable the plugin in Obsidian via Settings > Community Plugins.

Option 2: Build from Source

  1. Clone this repository or download the source code.

  2. Run the following commands to install the necessary dependencies and build the plugin. The build process will generate the main.js and manifest.json files inside the /dist subfolder within the repository directory:

    npm install
    npm run build
    

Usage

  1. Once the plugin is installed and enabled, you can configure it in Settings > Minimize on Close.
  2. Choose whether you want the minimize behavior only on macOS (default) or across all platforms.

MacOS Behavior (Default)

By default, the plugin mimics macOS behavior, minimizing the Obsidian window when all panes are closed. This provides a consistent experience for Mac users.

Compatibility

  • macOS: Tested and works as expected.
  • Windows: Tested and works as expected.
  • Linux: Tested and works as expected.

Contribution

Feel free to open an issue or submit a pull request if you encounter any bugs or have suggestions for improvement!

License

This project is licensed under the MIT License.

Donations

I would be grateful for any donation to support the development of this plugin.

Buy Me a Coffee QR Code

Author

  • Author: Andrea Alberti
  • GitHub Profile: alberti42
  • Donations:

Feel free to contribute to the development of this plugin or report any issues in the GitHub repository.

73%
HealthGood
ReviewSatisfactory
About
Minimize the Obsidian window to the dock or taskbar whenever all panes are closed, matching macOS app behavior. Apply the behavior across macOS, Windows, and Linux or keep it macOS-only, and trigger minimize or exit via command-palette actions.
InterfaceCommandsHotkeys
Details
Current version
1.3.3
Last updated
2 years ago
Created
2 years ago
Updates
8 releases
Downloads
1k
Compatible with
Obsidian 1.5.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
alberti42alberti42
www.linkedin.com/in/dr-andrea-alberti/
GitHubalberti42
  1. Community
  2. Plugins
  3. Interface
  4. Minimize on Close

Related plugins

Tray

Run Obsidian from the system tray for customisable window management and global quick notes.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Note Toolbar

Add customizable toolbars to your notes.

Leader Hotkeys

Add leader hotkey support to any command (like tmux or vim).

Mousewheel Image zoom

Increase or decrease the size of an image by scrolling.

Floating Search

Search text by using Obsidian default search view.

Lean Terminal

Embedded terminal panel powered by xterm.js and node-pty - no external windows.

Code Editor Shortcuts

Add keyboard shortcuts (hotkeys) commonly found in code editors such as Visual Studio Code (VS Code) or Sublime Text.

Slash Commander

Customize the slash command list, assign each command an icon.

Doubleshift

Open the command palette by pressing Shift (or any other key) twice like in IntelliJ and create your own shortcuts.