Set login window wallpaper to black

This commit is contained in:
The Ghost of FOSS' Past 2024-10-30 15:29:12 -05:00
parent 8429cba30a
commit dc652c15d6

View file

@ -1,6 +1,7 @@
# Prevents wallpaper/screensaver fingerprinting... (annyoing!) # Prevents wallpaper/screensaver fingerprinting... (annyoing!)
echo "[ST] Prevent wallpaper/screensaver fingerprinting... " echo "[ST] Prevent wallpaper/screensaver fingerprinting... "
osascript -e 'tell application "System Events" to set picture of desktop 1 to POSIX file "/System/Library/Desktop Pictures/Solid Colors/Black.png"' osascript -e 'tell application "System Events" to set picture of desktop 1 to POSIX file "/System/Library/Desktop Pictures/Solid Colors/Black.png"'
sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture "/System/Library/Desktop Pictures/Solid Colors/Black.png"
sudo defaults write /Library/Preferences/com.apple.screensaver modulePath -string "/System/Library/Screen Savers/Blank.saver" sudo defaults write /Library/Preferences/com.apple.screensaver modulePath -string "/System/Library/Screen Savers/Blank.saver"
defaults -currentHost write com.apple.screensaver modulePath -string "/System/Library/Screen Savers/Blank.saver" defaults -currentHost write com.apple.screensaver modulePath -string "/System/Library/Screen Savers/Blank.saver"
defaults -currentHost write com.apple.screensaver idleTime -int 666 # Adjust time in seconds as needed defaults -currentHost write com.apple.screensaver idleTime -int 666 # Adjust time in seconds as needed