Skip to main content

macOS Dock scripts

Project description

Installation

$ [sudo] pip install mac-dock
$ [sudo] npm i -g mac-dock

Examples

$ dock add-app /Applications/iTunes.app; killall Dock
# arrangement:  1 - name (default), 2 - added, 3 - modification, 4 - creation, 5 - kind
# displayas:    1 - folder, 2 - stack (default)
# showas:       1 - beep, 2 - grid, 3 - list, 4 - auto (default)
$ dock add-folder --arrangement=2 --displayas=1 --showas=1 ~/Downloads; killall Dock
$ dock apps
/Users/username/Applications/Google Chrome.app
/Users/username/Applications/Sublime Text.app
/Applications/Utilities/Terminal.app
/Applications/iTunes.app
$ dock folders
/Users/username/Downloads
$ dock rm /Applications/iTunes.app ~/Downloads; killall Dock

readme42.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mac-dock, version 2020.12.3
Filename, size File type Python version Upload date Hashes
Filename, size mac-dock-2020.12.3.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page