From 8438798850065b5011c803928210d79d8ee675f0 Mon Sep 17 00:00:00 2001 From: mikl Date: Wed, 1 Jul 2026 15:30:01 +0300 Subject: [PATCH] fix: lowercase com.apple.mail --- docs/cheatsheet.md | 8 -------- home/duti.nix | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/docs/cheatsheet.md b/docs/cheatsheet.md index 39c371a..3f2765c 100644 --- a/docs/cheatsheet.md +++ b/docs/cheatsheet.md @@ -78,7 +78,6 @@ httrack "https://example.com" -O ./out "+*.example.com/*" настраиваются через `~/.config/duti/config` (управляется в `home/duti.nix`): - `com.google.Chrome` — html, url -- `VSCodium` — txt (см. ⚠️ ниже) - `MarkEdit` — markdown - `kitty` — shell scripts - `com.apple.Preview` — pdf @@ -88,11 +87,4 @@ httrack "https://example.com" -O ./out "+*.example.com/*" ```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..."** → подтвердить diff --git a/home/duti.nix b/home/duti.nix index 9d7e400..f0bcdc0 100644 --- a/home/duti.nix +++ b/home/duti.nix @@ -18,7 +18,7 @@ net.sourceforge.skim-app.skim com.adobe.pdf all # mail - com.apple.Mail public.email-message all + com.apple.mail public.email-message all ''; # defaults applied via system.activationScripts.defaultApps in hosts/poppy/default.nix }