Skip to content

makiritare/hideDestopIconsSonoma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Just a script you can run in the console or in Automator to hide or show icons in the desktop whiout needing to restart the Finder

# Attempt to read the current setting, defaulting to false if not set
currentSetting=$(defaults read com.apple.WindowManager StandardHideDesktopIcons)

if [ "$currentSetting" = "1" ]; then
    # If currently true (1), set to false
    defaults write com.apple.WindowManager StandardHideDesktopIcons -bool false
else
    # If currently false (0) or not set, set to true
    defaults write com.apple.WindowManager StandardHideDesktopIcons -bool true
fi

# you may need to restart a process or log out/in for changes to take effect.

About

Hide Desktop icons in MacOs sonoma

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages