The dotfiles I use on my machines
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/lightster/.dotfiles/HEAD/osx/bin/install.sh)"
cd ~/.dotfiles
./osx/bin/init-minimal.sh <COMPUTER_NAME>
./osx/bin/init-mac.sh <BUNDLE_NAME>
- Dropbox
- Google Chrome
-
GPG
gpg --import --allow-secret-key-import /path/to/private-key.asc
-
Setup SSH key
-
Finish CLI setup
make pretty make done make atom
- Check Automatically hide and show the dock
- Uncheck Show recent applications in Dock
Arrangement:
- Arrange displays as appropriate
- Move menubar to main screen
Night Shift:
- Schedule: Sunset to Sunrise
- Color Temperature: 75% (closer to more warm)
- Choose a dark background so the menu bar is dark
- Monterey
- Start Screen Saver when inactive for: 5 minutes
- Require password 1 minute after sleep or screen saver begins
- Check Use your Apple Watch to unlock apps and your Mac
Battery:
- Check Show Percentage
- Turn On FileVault
- Key Repeat: fastest
- Delay Until Repeat: second shortest
- Keyboard Shortcuts:
- Services:
- Text
- Uncheck Open man Page in Terminal
- Uncheck Search man Page Index in Terminal
- Spotlight:
- Uncheck: Show Spotlight search
- Text
- Modifier Keys:
- Internal Keyboard:
- Caps Lock: Escape
- USB Keyboard:
- Caps Lock: Escape
- Option: Command
- Command: Option
- Internal Keyboard:
- Services:
- Tracking speed: third fastest
- Scrolling speed: third fastest
- Setup Powerpack License
Advanced:
- Setup Sync folder to "~/Dropbox/Application Support/Alfred"
Appearance:
- Set theme to Alfred Modern Dark
General:
- Set hotkey to Cmd+Space
General:
- Quick-Start a Session: Left click
- Check Launch Amphetamine at Login
Sessions:
- Default Duration: 2 hours
Notifications:
- Session end sound: Spoon and cup
Appearance:
- Menu Bar Image: Tea Kettle
- Menu Bar Text:
- Check Show session time remaining in menu bar
- Small font size
- Setup Layout Keyboard Shortcuts:
- Left: Cmd + Opt + Left
- Right: Cmd + Opt + Right
- Center: Cmd + Opt + Down
- Full Screen: Cmd + Opt + Up
- Launch at Login
- Setup License
General:
- Uncheck all under Show these items on the desktop
- New Finder windows show: lightster
Sidebar settings:
- Favorites
- Recents
- AirDrop
- Applications
- Desktop
- Documents
- Downloads
- Movies
- Music
- Pictures
- lightster
- iCloud
- iCloud Drive
- Locations
- [Computer]
- Hard Disks
- External disks
- CDs, DVDs, and iOS Devices
- Cloud Storage
- Bonjour computers
- Connected servers
- Tags
- Recent Tags
Generally I recommend disabling internet connectivity so the Messages database is not updated during the snapshot or restore.
bash osx/bin/snapshot.sh
bash os/bin/restore.sh YYYY-MM-DD
Parts of my .dotfiles repo is inspired, borrowed, or completely ripped from: