https://github.com/antvirf/work-dock
Simple util to add/remove work applications from macOS dock
https://github.com/antvirf/work-dock
Last synced: 3 months ago
JSON representation
Simple util to add/remove work applications from macOS dock
- Host: GitHub
- URL: https://github.com/antvirf/work-dock
- Owner: Antvirf
- Created: 2022-03-05T00:55:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-02T07:46:36.000Z (almost 3 years ago)
- Last Synced: 2025-01-23T13:13:40.633Z (5 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Workdock - Add / remove 'work apps' from your MacOS dock
Simple command line tool to add or remove certain defined 'work apps' from the macOS dock. For example, every morning you can easily add the required apps to the dock, and once you're done with your day/week or go on leave, remove the apps you don't need to touch with a single command.
Default 'work' apps are MS Outlook, MS Teams## Usage (without alias)
python dock.py work # Adds work apps
python dock.py chill # Removes work apps## Usage (with alias configured)
workdock work # Adds work apps
workdock chill # Removes work apps## Installation
In a directory of your choice, clone the repogit clone https://github.com/Antvirf/work-dock
Define your work applications in the dock.py file, update the work_apps list on line 8. For example, you can do this in vim:
vim dock.py
The defaults are as below. To add an app, provide the complete path to it, including ".app" at the end.
work_apps = [
"/Applications/Microsoft Outlook.app",
"/Applications/Microsoft Teams.app"
]### Optional: add workdock alias to your terminal
If you prefer, you can add workdock to your terminal profile (assuming zsh by default):sudo python dock.py add-alias