mirror of
https://github.com/wahyd4/dotfiles.git
synced 2026-08-10 21:36:07 +10:00
.osx: Set computer name
This commit is contained in:
@@ -4,10 +4,15 @@
|
||||
# General UI/UX #
|
||||
###############################################################################
|
||||
|
||||
# Set computer name (as done via System Preferences → Sharing)
|
||||
scutil --set ComputerName "MathBook Pro"
|
||||
scutil --set HostName "MathBook Pro"
|
||||
scutil --set LocalHostName "MathBook-Pro"
|
||||
|
||||
# Menu bar: disable transparency
|
||||
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
|
||||
|
||||
# Menu bar: show remaining battery time; hide percentage
|
||||
# Menu bar: show remaining battery time (on pre-10.8); hide percentage
|
||||
defaults write com.apple.menuextra.battery ShowPercent -string "NO"
|
||||
defaults write com.apple.menuextra.battery ShowTime -string "YES"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user