Skip to content

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 πŸ–₯️ 🧹

License

yohasebe/finder-unclutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Finder Unclutter

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

Requirements

This workflow has been developed and tested on macOS Sonoma 14.3.

Installation

To install, download Finder Unclutter Alfred Workflow (version 0.1.4)

Setting up

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

Features

Each feature can be assigned a unique hotkey for quick access.

Unclutter β†’ Dual-Pane

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.

Unclutter β†’ Single-Pane

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.

Toggle Show/Hide Finder Windows

This feature relies on Alfreds toggle visibility feature.

Close Other Tabs and Windows

This will close all the non-current Finder tabs and windows.

Close All Finder Windows

This will close all the Finder tabs and windows including the current one. A confirmation dialog pops up.

Open Config

For details on each of the configurable parameters, see below.

Configuration

Sidebar Width

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

Sidebars in horizontal dual pane mode

If set to single, the sidebar is shown only in the left-hand side Finder window (default = single).

Home folder path

Specifies the UNIX path of a new folder to open when no Finder window is present (default = ~).

View type in primary pane

The finder view type used on the primary pane (list, icon, column, or gallery, default = list).

View type of secondary pane

The finder view type used on the secondary pane (list, icon, column, or gallery, default = list).

Contents on secondary pane

The contents presented on the secondary pane (same as primary, home, parent, desktop, default = parent)

Wait message

If checked, "uncluttering" message is shown before single/dual pane Finder window appears (default = checked).

Hide other apps

If checked, other apps will be hidden while the single/dual Finder pane gets displayed (default = unchecked).

Reverse panes

Reverse the contents of the primary (left/top) and secondary (right/bottom) panes in the dual pane mode (default = unchecked).

Author

Yoichiro Hasebe yohasebe@gmail.com

License

MIT License

About

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 πŸ–₯️ 🧹

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published