Skip to content

Commit

Permalink
Update macos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcercal committed Mar 1, 2024
1 parent d611be0 commit b1c9ce0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ jobs:

- name: install dependencies
run: make install_dependencies

# - name: configure apps
# run: make configure_apps

- name: configure apps
run: make configure_apps

- name: apply custom preferences
run: make apply_preferences
# - name: apply custom preferences
# run: make apply_preferences

- name: update history of executed commands
run: make update_history_commands
run: brew install zsh zsh-completions atuin && eval "$(atuin init zsh)" && make update_history_commands
3 changes: 0 additions & 3 deletions scripts/apply-preferences.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ print::title_paragraph "This script will apply the personal preferences you like
# ===========================================================================================
# Add Login Items

print::command "osascript -e 'tell application \"System Events\" to make login item at end with properties {path:\"/Applications/Dropbox.app\", hidden:true}'"
print::command "osascript -e 'tell application \"System Events\" to make login item at end with properties {path:\"/Applications/Docker.app/\", hidden:true}'"
print::command "osascript -e 'tell application \"System Events\" to make login item at end with properties {path:\"/Applications/Velja.app/\", hidden:true}'"
print::command "osascript -e 'tell application \"System Events\" to make login item at end with properties {path:\"/Applications/Later.app/\", hidden:true}'"
print::command "osascript -e 'tell application \"System Events\" to make login item at end with properties {path:\"/Applications/Hidden Bar.app/\", hidden:true}'"
print::command "osascript -e 'tell application \"System Events\" to make login item at end with properties {path:\"/Applications/Macs Fan Control.app\", hidden:false}'"
print::command "osascript -e 'tell application \"System Events\" to make login item at end with properties {path:\"/Applications/Alfred 5.app\", hidden:false}'"
print::command "osascript -e 'tell application \"System Events\" to make login item at end with properties {path:\"/Applications/Magnet.app\", hidden:false}'"
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ echo "y" | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew

print::command "(echo; echo 'eval \"$(/opt/homebrew/bin/brew shellenv)\"') >> /Users/jpcercal/.zprofile && eval \"$(/opt/homebrew/bin/brew shellenv)\"" "Adding homebrew to the \$PATH environment variable."
print::command "brew update"
print::command "brew install yq atuin"
print::command "brew install yq"

0 comments on commit b1c9ce0

Please sign in to comment.