An Alfred 🎩 workflow that removes duplicate Finder tabs and windows and arranges them into a single or dual-pane 👓 layout for a cleaner desktop experience 🖥️ 🧹
Finder Unclutter does the following all at once:
- Unminimize all Finder windows
- Unduplicate all Finder tabs
- Merge all Finder windows and tabs
- Organize Finder in a single/dual pane layout
- Position Finder in a specified area of the desktop
- Alfred 5 with Powerpack
This workflow has been developed and tested on macOS Sonoma 14.3.
To install, download Finder Unclutter Alfred Workflow (version 0.1.4)
This Workflow only functions properly if the language setting of Finder.app is set to English due to the way it interacts with Finder's interface.
When this Workflow is launched, if the language of Finder.app is not English (en
), a dialog will be displayed. Clicking OK will automatically change the language setting of Finder.app to English.
If you want to revert the language setting of Finder back to its original state, you can do so in macOS's System Settings
under Language & Region
/ Applications
. A system restart may be required after changing these settings. Alternatively, you can revert it by executing the following command. Please specify LANG_CODE
in the ISO 639-1 format as appropriate.
defaults write com.apple.Finder AppleLanguages '("LANG_CODE")'; killall Finder
Each feature can be assigned a unique hotkey for quick access.
Organizes Finder tabs/windows into a double-pane Finder window. All existing tabs are collected in the primary pane.
The secondary pane will contain only one tab that displays the user-specified contents (same as primary
, parent
, desktop
, or home
).
The dual Finder pane can be placed in either center (horizontal)
, center (vertical)
, fill (horizontal)
, fill (vertical)
, left
, right
, top
, or bottom
. You can either specify the area either by using hotkeys, or by selecting one on running the workflow.
Finder tabs/windows will be organized into a single Finder window. All existing tabs will be collected in this Finder window.
The dual Finder pane can be placed in either center
, fill
, left
, right
, top
, or bottom
. You can either specify the area either by using hotkeys, or by selecting one on running the workflow.
This feature relies on Alfreds toggle visibility
feature.
This will close all the non-current Finder tabs and windows.
This will close all the Finder tabs and windows including the current one. A confirmation dialog pops up.
For details on each of the configurable parameters, see below.
Setting the Sidebar Width to 0 will hide the sidebar. Otherwise, this value is set as the width of the sidebar (0-500
, default = 200
).
If set to single
, the sidebar is shown only in the left-hand side Finder window (default = single).
Specifies the UNIX path of a new folder to open when no Finder window is present (default = ~
).
The finder view type used on the primary pane (list
, icon
, column
, or gallery
, default = list
).
The finder view type used on the secondary pane (list
, icon
, column
, or gallery
, default = list
).
The contents presented on the secondary pane (same as primary
, home
, parent
, desktop
, default = parent
)
If checked, "uncluttering" message is shown before single/dual pane Finder window appears (default = checked
).
If checked, other apps will be hidden while the single/dual Finder pane gets displayed (default = unchecked
).
Reverse the contents of the primary (left/top) and secondary (right/bottom) panes in the dual pane mode (default = unchecked
).
Yoichiro Hasebe yohasebe@gmail.com
MIT License