Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #47 from newcontext/set_finder_show_all_hd_on_desktop
Browse files Browse the repository at this point in the history
Recipe for displaying all hard drives, external and removable on desktop
  • Loading branch information
cunnie committed Jul 11, 2012
2 parents 36472d2 + ac9a6c1 commit d02ac97
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions recipes/set_finder_show_all_hd_on_desktop.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
execute "show hard drive on desktop" do
command "defaults write com.apple.finder ShowHardDrivesOnDesktop -bool YES"
user WS_USER
end

execute "show external hard drives on desktop" do
command "defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool YES"
user WS_USER
end

execute "show removable media on desktop" do
command "defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool YES"
user WS_USER
end

0 comments on commit d02ac97

Please sign in to comment.