Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 731 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 731 Bytes

focus-cli

Get macOS Focus mode via CLI

install

brew install legnoh/etc/mac-focus-cli

Important

You must set "Full Disk Access" to focus command. Because this application accesses below files.

  • ~/Library/DoNotDisturb/DB/ModeConfigurations.json
  • ~/Library/DoNotDisturb/DB/Assertions.json
full disk access in settings

usage

## get now focus mode name
focus get

## get by json format
focus get --json