dotfiles/README.md

53 lines
1.6 KiB
Markdown

# Dot files
A collection of dotfiles I used or once used.
## Neovim
Maintained in [a separate repo](https://arrakis.fly.dev/weeheavy/neovim).
# macOS
This `README` also kind of documents my macOS "setup".
## Essential macOS software
See [this blog post](https://lugh.ch/good-software.html)
### Work related software
- [Docker](https://www.docker.com/products/docker-desktop)
## brew installed packages
List is stored in `brew.txt`. Compile list with `brew list -1 > brew.txt`, then
on a new machine, install it with `xargs brew install < brew.txt` (not
recommended).
## CLI settings
```bash
defaults write -g InitialKeyRepeat -int 12
defaults write -g KeyRepeat -int 1
defaults write com.apple.screencapture location ~/screenshots/
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
defaults write ~/Library/Preferences/com.apple.coreservices.useractivityd.plist ClipboardSharingEnabled 1
# Allow to drag windows with <ctrl>+<cmd>
defaults write -g NSWindowShouldDragOnGesture -bool true
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false
# Then reload the GUI
killall SystemUIServer
```
### Reduce menubar whitespace so more symbols go besides the notch
Allows values between 0-6. Needs a logout afterwards
```bash
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 6
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 6
```
[![Please don't upload to GitHub](https://nogithub.codeberg.page/badge.svg)](https://nogithub.codeberg.page)