Last active
November 18, 2020 01:55
-
-
Save ttscoff/6f37f72f11434f5ea060eb2f721bc9f6 to your computer and use it in GitHub Desktop.
Sample .bunch file for Bunch.app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Comments start with a hash symbol, blank lines are ignored | |
# Use @@ to hide all visible apps. Usually used at the top of the file | |
# before launching the rest of the bunch | |
@@ | |
# Apps to launch start at the beginning of a line, no | |
# need to quote or escape. | |
Messages | |
# Apps launched by a Bunch can be quit when the Bunch is closed | |
# Add a percent symbol to ignore it when quitting (keep it running) | |
%Terminal | |
# Include a line starting with a dash to open specific | |
# files in the app | |
# If the first file listed is "XX", all open windows | |
# for the app will be closed first | |
Finder | |
- XX | |
- ~/Desktop | |
- ~/Documents | |
# Commands are surrounded by parenthesis. Only commands Bunch | |
# recognizes will be executed | |
# ([hide|show] dock) -> Turn Dock autohiding on or off | |
# ([hide|show] desktop) -> Show or hide desktop icons | |
# (dnd [on|off]) -> Turn Do Not Disturb on or off | |
(show dock) | |
# Use a URL instead of an app to open it in your | |
# default browser | |
https://brettterpstra.com/projects | |
# You can also use URL schemes from other apps | |
x-marked://open?file=Work Stuff.md | |
# Start a line with an exclamation point to quit that app if it's running | |
# Start a line with an asterisk (*) to execute as applescript | |
* say "Bunch launched" | |
## Or run a shell script with a dollar sign ($) | |
## and set environment variables with "file" markers | |
# $ /usr/local/scripts/myscript.sh arg1 arg2 | |
# - KEY=value | |
## Or an Automator Workflow with an ampersand (&) | |
## File markers will set variables for the workflow | |
# & ~/Documents/My Workflow.workflow | |
# - key=val | |
# Start a line with @ to "focus" that app (hide others) | |
# Focus commands should be the last item in the Bunch | |
@Marked 2 | |
# See the documentation for more info: https://brettterpstra.com/projects/bunch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment