Floating DND - Heads up display..

I would like to have a floating icon that tells me if my computer is in DND. It will go away when its not. Is this possible? I tried it on BTT and can't figure it out.

you can use the "on script output did change" triggers:

script:

let dnd = await get_number_variable("SystemDoNotDisturbState");
return dnd;


If you need a specific focus mode you can query the " focus_mode variable, however that requires you to give BTT full disk access in system settings

let mode = await get_string_variable("focus_mode");
return mode === "sleep";