Scripts can move the glass.
Mizzle answers to mizzle:// links, from the shell, AppleScript or anything else that can open a URL.
Try one here.
This page acts the link out on itself. Nothing is sent to your Mac.
Pick a link, or write your own.
From the shell.
open "mizzle://on"
open "mizzle://blur/70"
open "mizzle://timer/25"
From AppleScript it is the same link.
open location "mizzle://toggle"
Numbers outside the range are brought back inside it. Commands Mizzle does not know are rejected and logged, never half applied.
Every command.
Focus
mizzle://onmizzle://offmizzle://toggleTurn focus on, off, or switch between the two.
mizzle://blur/NBlur amount, 0 to 100.
mizzle://timer/NStart a focus session of N minutes, 1 to 600. Focus turns off when the time is up.
mizzle://timer/stopCancel the running session and leave focus as it is.
The look
mizzle://mode/fullmizzle://mode/horizonChoose the style.
mizzle://mode/rainmizzle://mode/toggleRain, or the next style in turn.
mizzle://grain/NGrain amount, 0 to 100.
mizzle://grayscale/onmizzle://grayscale/offmizzle://grayscale/togglemizzle://grayscale/NMonochrome on, off, toggled, or an amount from 0 to 100.
mizzle://tint/color/NAME_OR_HEXTint colour: red, orange, yellow, green, teal, blue, purple, pink, graphite, or six hex digits without #.
mizzle://tint/opacity/NTint strength, 0 to 100.
Windows and screens
mizzle://display/perScreenmizzle://display/globalHow the blur behaves with more than one display.
mizzle://reveal-all/onmizzle://reveal-all/offmizzle://reveal-all/toggleKeep every window of the app in use sharp.
mizzle://ignoremizzle://ignore/BUNDLE_IDmizzle://ignore/toggleAdd the front app, or an app by bundle ID, to the ignore list.
mizzle://unignoremizzle://unignore/BUNDLE_IDRemove from the ignore list.
mizzle://pinPin the front window sharp, or unpin it.
mizzle://keepStart or end drawing areas to keep sharp.
mizzle://shareStart or end safe to share.
On the glass
mizzle://panicFog every screen at once, or lift that fog.
mizzle://noteStart writing a note on the glass.
The app itself
mizzle://preset/NAMEApply a saved preset. Write spaces as %20.
mizzle://controlsOpen or close quick controls.
mizzle://settingsOpen settings.
mizzle://check-updatesCheck for updates.
mizzle://quitQuit.
Shortcuts and Focus.
The Shortcuts app has Mizzle actions to turn focus on and off, set blur, grain and monochrome, choose the style and ignore the front app. A macOS Focus can also drive Mizzle through a Mizzle filter in System Settings.
Something missing?
Write to hello@zawalid.com and say what your script needs.