Skip to content

Commit

Permalink
Adding logic for additional finder and dock customisation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmcfarland committed Sep 6, 2023
1 parent f33b7c3 commit 8352a7a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,7 @@
loop_control:
loop_var: outer_item
with_fileglob: "{{ post_provision_tasks | default(omit) }}"

Check failure on line 57 in main.yml

View workflow job for this annotation

GitHub Actions / Lint

57:1 [trailing-spaces] trailing spaces

Check failure on line 57 in main.yml

View workflow job for this annotation

GitHub Actions / Lint

57:1 [trailing-spaces] trailing spaces

Check failure on line 57 in main.yml

View workflow job for this annotation

GitHub Actions / Lint

57:1 [trailing-spaces] trailing spaces

Check failure on line 57 in main.yml

View workflow job for this annotation

GitHub Actions / Lint

57:1 [trailing-spaces] trailing spaces

Check failure on line 57 in main.yml

View workflow job for this annotation

GitHub Actions / Lint

57:1 [trailing-spaces] trailing spaces

Check failure on line 57 in main.yml

View workflow job for this annotation

GitHub Actions / Lint

57:1 [trailing-spaces] trailing spaces

Check failure on line 57 in main.yml

View workflow job for this annotation

GitHub Actions / Lint

57:1 [trailing-spaces] trailing spaces

Check failure on line 57 in main.yml

View workflow job for this annotation

GitHub Actions / Lint

57:1 [trailing-spaces] trailing spaces
- import_tasks: tasks/finder.yml
when: configure_finder
tags: ['finder']
32 changes: 32 additions & 0 deletions tasks/finder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
- name: Show Drives on the Desktop

Check warning on line 1 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

1:1 [document-start] missing document start "---"

Check warning on line 1 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

1:1 [document-start] missing document start "---"

Check warning on line 1 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

1:1 [document-start] missing document start "---"

Check warning on line 1 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

1:1 [document-start] missing document start "---"

Check warning on line 1 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

1:1 [document-start] missing document start "---"

Check warning on line 1 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

1:1 [document-start] missing document start "---"

Check warning on line 1 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

1:1 [document-start] missing document start "---"

Check warning on line 1 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

1:1 [document-start] missing document start "---"
shell: defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true

- name: Show External Drives on the Desktop
shell: defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true

- name: Show Removable Media on the Desktop
shell: defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true

- name: Show Hidden Files
shell: defaults write com.apple.finder AppleShowAllFiles -bool true

- name: Show File Extensions
shell: defaults write NSGlobalDomain AppleShowAllExtensions -bool true

- name: Show the Status Bar in Finder
shell: defaults write com.apple.finder ShowStatusBar -bool true

- name: Show the Path Bar in Finder
shell: defaults write com.apple.finder ShowPathbar -bool false

Check failure on line 21 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

21:1 [trailing-spaces] trailing spaces

Check failure on line 21 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

21:1 [trailing-spaces] trailing spaces

Check failure on line 21 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

21:1 [trailing-spaces] trailing spaces

Check failure on line 21 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

21:1 [trailing-spaces] trailing spaces

Check failure on line 21 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

21:1 [trailing-spaces] trailing spaces

Check failure on line 21 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

21:1 [trailing-spaces] trailing spaces

Check failure on line 21 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

21:1 [trailing-spaces] trailing spaces

Check failure on line 21 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

21:1 [trailing-spaces] trailing spaces
- name: Remove recent applications from the dock
shell: defaults write com.apple.dock show-recents -bool false;

Check failure on line 24 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

24:1 [trailing-spaces] trailing spaces

Check failure on line 24 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

24:1 [trailing-spaces] trailing spaces

Check failure on line 24 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

24:1 [trailing-spaces] trailing spaces

Check failure on line 24 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

24:1 [trailing-spaces] trailing spaces

Check failure on line 24 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

24:1 [trailing-spaces] trailing spaces

Check failure on line 24 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

24:1 [trailing-spaces] trailing spaces

Check failure on line 24 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

24:1 [trailing-spaces] trailing spaces

Check failure on line 24 in tasks/finder.yml

View workflow job for this annotation

GitHub Actions / Lint

24:1 [trailing-spaces] trailing spaces
- name: Set number of recent applications to show in the dock
shell: defaults write com.apple.dock show-recent-count -int 3;

- name: Restart Dock
shell: killall Dock

- name: Restart Finder
shell: killall Finder

0 comments on commit 8352a7a

Please sign in to comment.