dotfiles/README.md

53 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

# Dot files
2024-11-29 13:07:59 +01:00
A collection of dotfiles I used or once used.
## Neovim
2024-12-09 10:55:11 +01:00
Maintained in [a separate repo](https://arrakis.fly.dev/weeheavy/neovim).
2023-05-08 11:08:55 +02:00
# 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
2023-05-08 11:08:55 +02:00
- [Docker](https://www.docker.com/products/docker-desktop)
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
on a new machine, install it with `xargs brew install < brew.txt` (not
recommended).
2018-11-12 14:07:42 +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
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
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
# 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
```
2024-12-30 12:11:17 +01:00
[![Please don't upload to GitHub](https://nogithub.codeberg.page/badge.svg)](https://nogithub.codeberg.page)