dotfiles/README.md

64 lines
2.3 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
- Package management: [Homebrew](http://brew.sh)
- Mouseless navigation: [Shortcat](https://shortcat.app)
- OpenVPN: [Tunnelblick](https://tunnelblick.net)
- Terminal: [Alacritty](https://alacritty.org)
- Terminal: [cool-retro-term](https://github.com/Swordfish90/cool-retro-term)
- Clipboard manager: [Maccy](https://maccy.app)
- Tasks: [Things](https://culturedcode.com/things/)
- Fonts with glyphs: [Nerd Fonts](https://www.nerdfonts.com)
- Screen arrangement: [displayplacer](https://github.com/jakehilborn/displayplacer)
- Note-taking: [heynote](https://heynote.com)
- Tiling window manager: [AeroSpace](https://github.com/nikitabobko/AeroSpace) ~[yabai](https://github.com/koekeishiya/yabai)~
- ~Custom hotkeys: [skhd](https://github.com/koekeishiya/skhd)~
### 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)