dockswitcher
v1.4.3
Published
Profiles for Mac dock items
Downloads
3
Readme
dockswitcher-cli
Basic command line tool for managing and creating macOS Dock profiles. This is designed to be used with apps like ControlPlane, where you may want to different items in your dock based on different "contexts".
Note: This has been developed for personal use, and has not been fully tested. I cannot verifying which versions of macOS this may work with, or if it will even work at all. If your Dock setup is important to you, please do not use this tool, or at the very least, backup your setup.
Install
$ npm install -g dockswitcher
Usage
All of these commands can also be run with the shorthand ds
.
$ dockswitcher get # list the current active profile details
$ dockswitcher current # get the name odf the current active profile
$ dockswitcher new newProfileName # clone the current profile into newProfileName. THIS DOES NOT ACTIVATE THE PROFILE
$ dockswitcher activate profileName # activate a profile
$ dockswitcher backup # backup the current active profile
$ dockswitcher restore profileName [n=0] # restore the nth most recent profile backup
$ dockswitcher verify # Verify that the macOS dock items matches the items specified in the active profile – mostly used for internal testing
$ dockswitcher update # Update the current profile to match the macOS dock items – mostly used for internal testing