#!/bin/bash
echo “Dark Mode enable”
# Run on.
sleep 4
defaults write com.apple.universalaccess reduceTransparency -bool true
killall Spotlight
killall Finder
sleep 3
defaults write com.apple.universalaccess reduceTransparency -bool false
killall Dock
killall Finder
killall NotificationCenter
Sleep 2
defaults write com.apple.universalaccess reduceTransparency -bool true
killall Spotlight
sleep 1
defaults write com.apple.universalaccess reduceTransparency -bool false
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
kill `ps -A | grep -w Terminal.app | grep -v grep | awk '{print $1}'`
echo "Done!"