focus-cli

command module
v0.0.0-...-e74b493 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL