Skip to content

Commit

Permalink
Trim down work apps
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Crane <[email protected]>
  • Loading branch information
marcus-crane committed Jan 19, 2025
1 parent cddf8f6 commit 2b0a642
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions run_after_configure_dock-darwin.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@

set -eufo pipefail


{{ $apps := list
"/Applications/Vivaldi.app"
{{ $personalApps := list
"/Applications/Zen Browser.app"
"/System/Applications/Calendar.app"
"/Applications/TickTick.app"
"/Applications/Ghostty.app"
Expand All @@ -17,9 +16,18 @@ set -eufo pipefail
"/Applications/Eagle.app"
}}

{{ $workApps := list
"/Applications/Zen Browser.app"
"/Applications/Google Chrome.app"
"/System/Applications/Calendar.app"
"/Applications/Ghostty.app"
"/Applications/Spotify.app"
"/Applications/Plexamp.app"
"/Applications/Beeper.app"
}}

{{ if .workmode }}{{ $apps = append $apps "/Applications/Google Chrome.app" }}{{ end }}
{{ if .workmode }}{{ $apps = append $apps "/Applications/Slack.app" }}{{ end }}
{{ $apps := $personalApps }}
{{ if .workmode }}{{ $apps = $workApps }}{{ end }}

defaults delete com.apple.dock persistent-apps

Expand Down

0 comments on commit 2b0a642

Please sign in to comment.