Skip to content

Instantly share code, notes, and snippets.

@d3v1an7
Last active April 24, 2026 14:46
Show Gist options
  • Select an option

  • Save d3v1an7/ba0e1a530bfe27121de534c9d6a51213 to your computer and use it in GitHub Desktop.

Select an option

Save d3v1an7/ba0e1a530bfe27121de534c9d6a51213 to your computer and use it in GitHub Desktop.
macos-fresh-config
brew:
brew:
- coreutils
- jq
- mas
- zsh-completions
cask:
- 1password
- brave-browser
- bruno
- discord
- docker
- istat-menus
- kaleidoscope@3
- logitech-g-hub
- obsidian
- raycast
- spotify
- steam
- tailscale
- visual-studio-code
- vlc
mas:
- { name: Amphetamine, id: 937984704 }
- { name: Final Cut Pro, id: 424389933 }
- { name: Compressor, id: 424390742 }
settings:
# Global defaults — applied to NSGlobalDomain via .GlobalPreferences.plist.
- path: "~/Library/Preferences/.GlobalPreferences.plist"
values:
AppleInterfaceStyle: "Dark" # dark mode system-wide
CGDisableCursorLocationMagnification: true # disable "shake mouse to grow cursor"
AppleKeyboardUIMode: 3 # Tab moves through ALL controls, not just text/lists
NSAutomaticQuoteSubstitutionEnabled: false # don't convert " to curly quotes
NSAutomaticDashSubstitutionEnabled: false # don't convert -- to em-dash
NSAutomaticSpellingCorrectionEnabled: false # disable auto-correct
ApplePressAndHoldEnabled: false # no accent popup on hold; let key repeat instead
KeyRepeat: 2 # key-repeat speed (lower = faster; default 6)
com.apple.swipescrolldirection: false # disable "Natural" scroll direction
NSWindowResizeTime: 0.001 # effectively no window-resize animation
NSNavPanelExpandedStateForSaveMode: true # Save dialogs open in expanded (full chooser) mode
NSNavPanelExpandedStateForSaveMode2: true # same, newer key used by modern apps
PMPrintingExpandedStateForPrint: true # Print dialogs open in expanded mode
PMPrintingExpandedStateForPrint2: true # same, newer key
NSDocumentSaveNewDocumentsToCloud: false # new documents default to local disk, not iCloud
"com.apple.SwiftUI.DisableSolarium": true # disable Tahoe's Liquid Glass (Solarium) system-wide
# Dock layout. Finder pins to leftmost and Trash to rightmost automatically
- path: "~/Library/Preferences/com.apple.dock.plist"
values:
tilesize: 43.0 # icon size (pt) at rest
largesize: 46.0 # icon size (pt) when magnified
magnification: true # grow icons on hover
autohide: true # hide the Dock when the cursor leaves it
show-recents: false # hide the Recent Applications section
autohide-delay: 0 # no delay before Dock reappears on hover
showhidden: true # dim icons of hidden apps (⌘H)
persistent-apps:
- tile-data: { file-data: { _CFURLString: "file:///Applications/Brave%20Browser.app/", _CFURLStringType: 15 } }
- tile-data: { file-data: { _CFURLString: "file:///Applications/Discord.app/", _CFURLStringType: 15 } }
- tile-data: { file-data: { _CFURLString: "file:///Applications/Obsidian.app/", _CFURLStringType: 15 } }
- tile-data: { file-data: { _CFURLString: "file:///Applications/Spotify.app/", _CFURLStringType: 15 } }
- tile-data: { file-data: { _CFURLString: "file:///Applications/Visual%20Studio%20Code.app/", _CFURLStringType: 15 } }
- tile-data: { file-data: { _CFURLString: "file:///System/Applications/System%20Settings.app/", _CFURLStringType: 15 } }
persistent-others:
- tile-type: directory-tile # folder/stack tile (not an app)
tile-data:
file-data: { _CFURLString: "file:///Users/ben.white/Downloads/", _CFURLStringType: 15 }
file-label: Downloads # visible tile label
file-type: 2 # 2 = directory (vs 1 = file)
arrangement: 2 # sort: 1=Name 2=Date Added 3=Date Modified 4=Date Created 5=Kind
displayas: 0 # tile appearance: 0=Stack 1=Folder
showas: 1 # click behaviour: 0=Auto 1=Fan 2=Grid 3=List
# Menu-bar icon visibility for Control Center tiles. Value encoding: 8 = hidden,
# 2 = show in Control Center panel only, 3 = show in menu bar + panel.
- path: "~/Library/Preferences/ByHost/com.apple.controlcenter.UUID.plist"
values:
Display: 8 # hide Display brightness tile from menu bar
FocusModes: 8 # hide Focus modes tile
NowPlaying: 8 # hide Now Playing tile
ScreenMirroring: 8 # hide Screen Mirroring tile
Sound: 8 # hide Sound tile
WiFi: 8 # hide Wi-Fi tile
- path: "~/Library/Preferences/ByHost/com.apple.Spotlight.UUID.plist"
values:
MenuItemHidden: true # hide the Spotlight magnifier icon from the menu bar
# Tahoe clock schema. Making it as small as possible as it cannot be hidden.
- path: "~/Library/Preferences/com.apple.menuextra.clock.plist"
values:
IsAnalog: 1 # show an analog clock face in the menu bar
ShowAMPM: 0 # (moot when analog) hide AM/PM
ShowDate: 0 # 0=never, 1=when space allows, 2=always
ShowDayOfWeek: 0 # hide the day-of-week label
# Keyboard shortcuts. Takes effect after logout (not just cfprefsd restart).
- path: "~/Library/Preferences/com.apple.symbolichotkeys.plist"
values:
AppleSymbolicHotKeys:
"64": # ⌘-Space: "Show Spotlight search" — disabled so Raycast can bind it
enabled: false
value:
parameters: [32, 49, 1048576] # space key, keycode 49, modifier mask 1048576 (⌘)
type: standard
"164": # Dictation hotkey — disabled entirely
enabled: false
value:
parameters: [65535, 65535, 0] # 65535 sentinels = "no binding"
type: standard
- path: "~/Library/Preferences/com.apple.screensaver.plist"
values:
askForPassword: 1 # require password after sleep/screensaver
askForPasswordDelay: 60 # grace period (seconds) before password is required
- path: "~/Library/Preferences/com.apple.driver.AppleBluetoothMultitouch.mouse.plist"
values:
MouseButtonMode: TwoButton # enable right-click (secondary button) on Magic Mouse
- path: "~/Library/Preferences/com.apple.driver.AppleBluetoothMultitouch.trackpad.plist"
values:
Clicking: 1 # tap-to-click on bluetooth trackpad
- path: "~/Library/Preferences/com.apple.TimeMachine.plist"
values:
DoNotOfferNewDisksForBackup: true # stop asking "use this disk for Time Machine?" for new drives
- path: "~/Library/Preferences/com.apple.finder.plist"
values:
AppleShowAllFiles: true # show hidden/dotfiles in Finder
NewWindowTarget: PfHm # new windows open at Home (~); other codes: PfDe=Desktop, PfDo=Documents
ShowStatusBar: true # show item count / free space bar at bottom
FXEnableExtensionChangeWarning: false # don't warn on file extension change
FXDefaultSearchScope: SCcf # search in Current Folder by default (SCev=This Mac, SCsp=Previous scope)
FXPreferredViewStyle: clmv # default view = Column (icnv=Icon, Nlsv=List, Flwv=Gallery)
FXPreferredGroupBy: Kind # group by Kind when grouping is on
QLEnableTextSelection: true # allow text selection inside Quick Look previews
ShowHardDrivesOnDesktop: true # show internal drive icons on Desktop
ShowMountedServersOnDesktop: true # show mounted network volumes on Desktop
# Icon view settings — nested dicts, deep-merged with live state so
# sibling keys Finder sets itself (showItemInfo, showIconPreview, etc.)
# are preserved.
DesktopViewSettings: # the Desktop window
IconViewSettings:
arrangeBy: grid # snap Desktop icons to grid
gridSpacing: 40
iconSize: 44
labelOnBottom: false # label to the RIGHT of icons (not below)
textSize: 10
FK_StandardViewSettings: # default view settings for new windows
IconViewSettings:
arrangeBy: grid
gridSpacing: 40
iconSize: 44
labelOnBottom: false
textSize: 10
StandardViewSettings: # per-window overrides
IconViewSettings:
arrangeBy: grid
gridSpacing: 40
iconSize: 44
labelOnBottom: false
textSize: 10
- path: "~/Library/Preferences/com.apple.desktopservices.plist"
values:
DSDontWriteNetworkStores: true # don't write .DS_Store files on network volumes
# Stage Manager / desktop click behaviour + desktop widgets.
- path: "~/Library/Preferences/com.apple.WindowManager.plist"
values:
EnableStandardClickToShowDesktop: false # clicking wallpaper does NOT hide all windows
StandardHideWidgets: true # hide desktop widgets outside Stage Manager
StageManagerHideWidgets: true # hide desktop widgets inside Stage Manager
# iStat Menus. Only the profile subtree — Device/Auth/Status are machine-
# bound and get rewritten by iStat on first launch.
- path: "~/Library/Preferences/com.bjango.istatmenus.menubar.7.plist"
values:
# Items shown when you click the CPU module's menu-bar icon.
CPU:
Menu:
State:
- { enabled: 1, key: "cpu-cpu" } # overall CPU usage graph
- { enabled: 0, key: "cpu-cores" } # per-core usage (hidden)
- { enabled: 1, key: "cpu-processes" } # top processes by CPU
- { enabled: 1, key: "cpu-gpu" } # GPU usage
- { enabled: 0, key: "cpu-load" } # load averages (hidden)
- { enabled: 0, key: "cpu-uptime" } # uptime (hidden)
- { enabled: 1, key: "cpu-launcher" } # Activity Monitor / settings shortcuts
# Items shown when you click the Time module's menu-bar icon.
Time:
Menu:
Calendar: { Type: 2 } # calendar widget style (2 = month grid)
State:
- { enabled: 1, key: "time-calendar" } # inline calendar
- { enabled: 1, key: "time-events" } # upcoming calendar events
- { enabled: 0, key: "time-cities" } # world clocks (hidden)
- { enabled: 0, key: "time-launcher" } # shortcuts row (hidden)
Menu:
Theme: { Dark: system } # dropdown menus follow system light/dark setting
Notifications:
Enabled: 0 # disable iStat notifications
# Profiles.Settings.default defines what actually renders in the menu bar.
Profiles:
Available: { identifier: default }
Settings:
default:
Battery:
Menubar:
Enabled: 1 # show Battery in menu bar (replaces Apple's)
Items:
Standard:
- { source: 8, type: 4 } # iStat encoding; captured live (battery % text)
CPU:
Menubar:
Items:
- { source: 1, subtype: 3, type: 4 } # CPU usage indicator (captured live)
Combined:
Menubar:
Items: [] # no combined "all in one" tile
Disks:
Menubar: { Enabled: 0 } # don't show Disks in menu bar
Memory:
Menubar:
Items:
- { source: 3, subtype: 3, type: 4 } # memory usage indicator (captured live)
Network:
Menubar:
Items:
- { source: 17, type: 11 } # network throughput indicator (captured live)
Sensors:
Menubar: { Enabled: 0 } # don't show Sensors (temps/fans) in menu bar
Time:
Menubar:
Enabled: 1 # show Time in menu bar (replaces Apple's clock)
Clocks:
- lines: 1 # single-line clock format
line1:
# Renders as e.g. "Fri 2:47pm"
items:
- { type: token, format: "EEE", "format-type": day } # "Fri"
- { type: string, value: " " } # literal space
- { type: token, format: "h", "format-type": hour } # "2" (12h, no leading zero)
- { type: string, value: ":" } # literal colon
- { type: token, format: "mm", "format-type": minute } # "47"
- { type: token, format: "a", "format-type": ampm } # "pm"
Weather:
Menubar: {} # no weather in menu bar
system_name_update: true # prompt for a computer name and apply via `sudo scutil --set ComputerName`
power:
# Always-on power settings (apply to every power source). Uses `sudo pmset -a`.
power_settings_all:
values:
disksleep: 10 # spin hard disks down after 10 min idle
womp: 0 # disable Wake-on-LAN (magic packet)
autorestart: 0 # do NOT auto-restart after a power failure
halfdim: 0 # disable the "half-dim" step before display sleep
sms: 0 # disable Sudden Motion Sensor (no-op on Apple Silicon; harmless)
# On battery. `sudo pmset -b`.
power_settings_battery:
values:
displaysleep: 5 # display sleeps after 5 min idle
sleep: 10 # system sleeps after 10 min idle
powernap: 0 # Power Nap off on battery
lessbright: 1 # slightly dim display on battery to save power
# On charger. `sudo pmset -c`.
power_settings_charger:
values:
displaysleep: 10 # display sleeps after 10 min idle
sleep: 0 # system never sleeps on AC (display still can)
powernap: 1 # Power Nap on while charging
lessbright: 0 # full brightness on AC
fonts:
# JetBrains Mono Nerd Font — monospaced coding font with ligatures + Nerd Font glyphs.
- "JetBrains Mono": https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/JetBrainsMono.zip
apps:
brave:
set_as_default: true # launch Brave with --make-default-browser after install
settings:
- path: "~/Library/Preferences/com.brave.Browser.plist"
values:
AppleEnableSwipeNavigateWithScrolls: false # disable trackpad two-finger swipe back/forward
AppleEnableMouseSwipeNavigateWithScrolls: false # disable Magic Mouse swipe back/forward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment