chore(macos): use auto theme

This commit is contained in:
Badstagram 2026-01-06 16:28:17 +00:00
parent 7c08498c54
commit e7b52d91b3

View File

@ -4,6 +4,8 @@
defaults write NSGlobalDomain _HIHideMenuBar -bool TRUE # Auto hide menu bar
defaults write NSGLobalDomain NSAutomaticCapitalizationEnabled -bool FALSE
defaults write NSGLobalDomain NSAutomaticPeriodSubstitutionEnabled -bool FALSE
defaults write NSGlobalDomain AppleInterfaceStyleSwitchesAutomatically -bool TRUE
defaults delete NSGLobalDomain AppleInterfaceStyle
# Dock
defaults write com.apple.dock autohide -bool TRUE # Enable auto hide dock
@ -45,5 +47,7 @@ wget $url -O $wallPath
# https://github.com/rgcr/m-cli/blob/main/plugins/wallpaper#L21
osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"$wallPath\" as POSIX file"
#
osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to not dark mode'
{{ end -}}