chore(macos): use auto theme
This commit is contained in:
parent
7c08498c54
commit
e7b52d91b3
@ -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 -}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user