A collection of my dotfiles
-
Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install git
brew install git -
Clone this repository and navigate to the directory
cd ~ git clone https://github.com/epiecs/dotfiles.git cd ~/dotfiles -
Install Tmux Plugin Manager if you need it. Don't forget to comment out what is needed in
.tmux.confgit clone https://github.com/tmux-plugins/tpm ~/dotfiles/tmux/.tmux/plugins/tpm -
Install all packages with the
Brewfilebrew bundle install --file=~/dotfiles/Brewfile -
Some packages can not be installed via homebrew. Install these with mas
# Amphetamine mas install 937984704 # Wireguard mas install 1451685025 # Rcmd mas install 1596283165 -
Reboot
-
Run the following tools and accept all needed permissions
- Aldente
- AltTab
- Amphetamine
- Discord
- Thaw + also enable start at login
- Karabiner-Elements
- Powershell
- Rectangle Pro
-
Use
stowto setup all needed dotfilescd ~/dotfiles stow bash bat ghostty git karabiner linearmouse nano nvim tmux wezterm zed -
Set the correct bash version as your default shell
sudo nano /etc/shells <add /opt/homebrew/bin/bash> and save # Update default shell chsh -s /opt/homebrew/bin/bash $USER # Restart your terminal -
Reboot, else your new bash version won't work
-
Build the
battheme cache, Tokyonight is already setbat cache --build # You can also list all known themes and then install this theme in bat/.config/bat/config bat --list-themes -
Mac settings
chmod +x .macos ./.macos brew cleanup -
Reboot
-
Import private key from your password manager
mkdir -p ~/.ssh nano ~/.ssh/id_ed25519 # paste key chmod 700 ~/.ssh chmod 600 ~/.ssh/id_ed25519 ssh-keygen -f ~/.ssh/id_ed25519 -y > ~/.ssh/id_ed25519.pub -
Set your ssh config to use your key
nano ~/.ssh/config Host * IdentityFile /Users/gregory/.ssh/id_ed25519 -
Manual todo
-
Import rectangle config from
app-settings -
Import wireguard tunnels
-
Login to obsidian
- The vault can be opened from your projects folder
-
Install printer(s)
-
Set your user image
-
Set/check your hostname
- General > About > Click on the name to edit
-
Login to edge and sync with your
gregorybers@gregorybers.euaccount- Transfer open tabs with
tabox
- Transfer open tabs with
-
Login to vscode and sync
-
Disable private mac on wifi where needed
-
Transfer files and projects
-
Disable airplay receiver (helps with bluetooth interference)
-
Set correct login items
-
Aldente appearance > other -> do not show dock icon
-
Drag correct items in dock
-
finder -> preferences -> sidebar
- show main disk
- choose sidebar items
- add needed folders to sidebar
-
notifications
- disable tips
-
disable mission control shortcuts to free up ctrl for tmux
-
App settings can be found in ~/Library/Preferences. You can export them (example alttab):
defaults export com.lwouis.alt-tab-macos ~/Downloads/com.lwouis.alt-tab-macos.plist
An example on how to import them can be found in the .macos script
Export current settings:
defaults export com.lwouis.alt-tab-macos ~/dotfiles/app-settings/alt-tab.plist
# defaults export com.jordanbaird.Ice.plist ~/dotfiles/app-settings/ice.plist
mas list
- https://macos-defaults.com/
- https://dev.to/darrinndeal/setting-mac-hot-corners-in-the-terminal-3de
- https://github.com/mathiasbynens/dotfiles/blob/master/.macos
- https://developer.apple.com/documentation/devicemanagement
- https://developer.okta.com/blog/2021/07/19/discover-macos-settings-with-plistwatch
- https://www.idownloadblog.com/2021/05/13/how-to-improve-bluetooth-audio-mac/
- find a way with defaults to allow apps to control my mac
- battery %
- show mac main disk in finder