/dotfiles

Primary LanguageShell

dotfiles & mac config

Steps & files used while configuring my macbook.

Sources:

OS Settings

General

  • Rename macbook

Note: Might want to set a proper hostname: link

Dock

just set-defaults will:

  • Reduce dock size to ~15%
  • Minimize windows using: Scale effect
  • Automatically hide and show the dock
  • Make hide / show the dock faster

Last manual step to do is:

  • Remove all apps from dock

Display

  • Set resolution to: More Space

Keyboard

  • Press 🌐 key to: Show emoji & symbols
  • Set key repeat to fastest
  • Set delay until repeat to 1 before fastest
  • Set keyboard brightness to 50%
  • Turn off keyboard backlight off after 5 seconds
  • In keyboard > keyboard shortcuts:
  • Input Sources > Disable select previous input source -> very important as it conflicts with vscode intellisense shortcut

Trackpad

  • Increase tracking speed to 6/10
  • Set click to light
  • Enable tap to click
  • Disable natural scrolling

Devtools setup

cd ~
git clone https://github.com/nohehf/dotfiles.git

developer tools

xcode-select --install

non homebrew installs

This script will install necessary tools for this to work + some dependencies I want to manage outside of brew. It is usefull for package managers, brew itself...

sh install.sh

Then to install all, simply run

just

homebrew

Now that brew is installed, run

make brew

to install all brew dependencies as specified in Brewfile (and vscode extensions in vscode/Brewfile)

dotfiles

This command will create symlinks between the files in this repo to ~.dotfile-name

make dotfiles

Setup keys & passwords

GPG

Export from system 1: gpg --armour --export-secret-keys nohehf > key On system 2:

gpg --import <key>
gpg --edit-key nohehf
trust
5
save

⚠️ Never commit this file

Note: a better way of managing keys (with sub-keys would be preferable)

Setup raycast

  • Disable spotlight shortcut
  • Enable raycast shortcut to cmd + space
  • Import Raycast.rayconfig in raycast settings

Setup terminal

todo:

  • bitwarden cli
  • find a way to show gwip state in starship
  • manual installs
  • synced vscode config