Get Focus Mode

Get the current macOS Focus mode

dvcrn Updated 32 repo stars

File contents

Get Focus Mode

Returns the name of the currently active macOS Focus mode.

Usage

~/clawd/skills/get-focus-mode/get-focus-mode.sh

Output

Prints the Focus mode name to stdout:

  • "No Focus" - Focus mode is off
  • "Office" - Office focus is active
  • "Sleep" - Sleep focus is active
  • "Do Not Disturb" - DND is active

Requirements

  • macOS
  • jq installed

dvcrn/openclaw-skills-marketplace/tree/main/plugins/nickchristensen--get-focus-mode/skills/get-focus-mode commit aaa05bd80c

Frequently asked questions

npx skillmds@latest add dvcrn/get-focus-mode