2024-01-15 13:05:00 +01:00
|
|
|
# Dot files
|
|
|
|
|
|
2024-11-29 13:07:59 +01:00
|
|
|
A collection of dotfiles I used or once used.
|
|
|
|
|
|
2024-01-15 13:05:00 +01:00
|
|
|
## Neovim
|
|
|
|
|
|
2024-12-09 10:55:11 +01:00
|
|
|
Maintained in [a separate repo](https://arrakis.fly.dev/weeheavy/neovim).
|
2024-01-15 13:05:00 +01:00
|
|
|
|
2023-05-08 11:08:55 +02:00
|
|
|
# macOS
|
|
|
|
|
|
2024-01-15 13:05:00 +01:00
|
|
|
This `README` also kind of documents my macOS "setup".
|
|
|
|
|
|
|
|
|
|
## Essential macOS software
|
|
|
|
|
|
2025-02-05 09:03:26 +01:00
|
|
|
See [this blog post](https://lugh.ch/good-software.html)
|
2018-11-08 17:17:14 +01:00
|
|
|
|
|
|
|
|
### Work related software
|
2023-05-08 11:08:55 +02:00
|
|
|
|
2023-12-18 13:55:42 +01:00
|
|
|
- [Docker](https://www.docker.com/products/docker-desktop)
|
2018-11-08 17:17:14 +01:00
|
|
|
|
2018-11-12 14:07:42 +01:00
|
|
|
## brew installed packages
|
2023-05-08 11:08:55 +02:00
|
|
|
|
2019-03-18 16:46:45 +01:00
|
|
|
List is stored in `brew.txt`. Compile list with `brew list -1 > brew.txt`, then
|
2024-01-15 13:05:00 +01:00
|
|
|
on a new machine, install it with `xargs brew install < brew.txt` (not
|
|
|
|
|
recommended).
|
2018-11-12 14:07:42 +01:00
|
|
|
|
2018-11-08 17:17:14 +01:00
|
|
|
## CLI settings
|
|
|
|
|
|
2023-05-08 11:08:55 +02:00
|
|
|
```bash
|
2020-02-18 07:37:50 +01:00
|
|
|
defaults write -g InitialKeyRepeat -int 12
|
2018-11-08 17:17:14 +01:00
|
|
|
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
|
2024-08-28 11:24:36 +02:00
|
|
|
defaults write ~/Library/Preferences/com.apple.coreservices.useractivityd.plist ClipboardSharingEnabled 1
|
2024-11-29 13:07:59 +01:00
|
|
|
# Allow to drag windows with <ctrl>+<cmd>
|
|
|
|
|
defaults write -g NSWindowShouldDragOnGesture -bool true
|
|
|
|
|
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false
|
2018-11-08 17:17:14 +01:00
|
|
|
|
|
|
|
|
# Then reload the GUI
|
|
|
|
|
killall SystemUIServer
|
|
|
|
|
```
|
2024-02-12 16:19:49 +01:00
|
|
|
|
|
|
|
|
### 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
|
|
|
|
|
```
|
2024-12-30 12:11:17 +01:00
|
|
|
|
|
|
|
|
[](https://nogithub.codeberg.page)
|