diff --git a/lib/naughty/core.lua.in b/lib/naughty/core.lua.in index 07190e64..10f218af 100644 --- a/lib/naughty/core.lua.in +++ b/lib/naughty/core.lua.in @@ -143,6 +143,11 @@ for s = 1, capi.screen.count() do } end +--- Notification state +function naughty.is_suspended() + return suspended +end + --- Suspend notifications function naughty.suspend() suspended = true