aos focus
Do Not Disturb / Focus: read it, and set it where the OS allows
3 commands. Run aos focus --help for the same list from the binary, or see every group.
Do Not Disturb, called Focus on macOS and Windows. status reads it on macOS (a Focus turned on by hand, from the Focus store; scheduled ones are not visible there) and on GNOME. on and off work on GNOME, where --for=1h turns banners back on by itself. macOS and Windows offer no supported API to set Focus, so there they exit 2 and say what to use instead. It follows the host: it is about the person at the screen.
Commands
Section titled “Commands”aos focus off
Section titled “aos focus off”Turn Do Not Disturb off (GNOME)
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos focus offaos focus offaos focus on
Section titled “aos focus on”Turn Do Not Disturb on, optionally for a while (GNOME)
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos focus on [--for=<duration>]| flag | values | meaning |
|---|---|---|
--for |
<duration> |
Optional |
aos focus onaos focus on --for=1haos focus status
Section titled “aos focus status”Print whether Do Not Disturb (Focus) is on, which mode, and until when
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos focus status [--json]| flag | values | meaning |
|---|---|---|
--json |
Optional |
aos focus statusaos focus status --json