Nono.MA

Change your Desktop background from Terminal

AUGUST 5, 2022

The osascript Terminal application allows the execution of AppleScript code from the command-line interface.

osascript -e 'tell application "System Events" to set picture of first desktop to "/path/to/your/background-image"'

BlogCodeTerminal