docs: add default apps section, simplify duti config (txt not configurable via CLI on Sonoma+)
This commit is contained in:
parent
90d6e2a2b9
commit
25164e8764
1 changed files with 23 additions and 0 deletions
|
|
@ -73,3 +73,26 @@ httrack "https://example.com" -O ./out "+*.example.com/*"
|
|||
- nixos options: `monolith https://search.nixos.org/options -o options.html`
|
||||
- сохранить доки: `wget -r -p -k nix-darwin.github.io/nix-darwin/manual/`
|
||||
- monolith и httrack ставятся через `brew install monolith httrack`
|
||||
|
||||
## default apps (duti)
|
||||
|
||||
настраиваются через `~/.config/duti/config` (управляется в `home/duti.nix`):
|
||||
- `com.google.Chrome` — html, url
|
||||
- `VSCodium` — txt (см. ⚠️ ниже)
|
||||
- `MarkEdit` — markdown
|
||||
- `kitty` — shell scripts
|
||||
- `com.apple.Preview` — pdf
|
||||
- `com.apple.Mail` — mail
|
||||
|
||||
проверить текущие defaults:
|
||||
```bash
|
||||
duti -x html
|
||||
duti -x md
|
||||
duti -x txt
|
||||
```
|
||||
|
||||
⚠️ **для `.txt` файлов** на macOS Sonoma+ Apple блокирует настройку через CLI.
|
||||
настроить вручную:
|
||||
1. правый клик на .txt файл → **Get Info**
|
||||
2. раздел **"Open with:"** → выбрать **VSCodium**
|
||||
3. нажать **"Change All..."** → подтвердить
|
||||
|
|
|
|||
Loading…
Reference in a new issue