Created
June 6, 2018 21:25
-
-
Save michaelbrawn/a77f4e25e4ca903c9f22018d98d55883 to your computer and use it in GitHub Desktop.
Mohave Dynamic Background
This file contains 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
-- Author: Michael Brawn (michaelbrawn.com) | |
on run | |
tell application "System Events" | |
set theName to name of current user | |
end tell | |
set pathName to "/Users/" & theName & "/Pictures/backgrounds/mohave/mojave_dynamic-" & hours of (current date) & ".jpeg" | |
tell application "Finder" to set desktop picture to POSIX file pathName | |
return | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment