MCPcopy
hub / github.com/paperwm/PaperWM / isScratchActive

Function isScratchActive

scratch.js:168–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166}
167
168export function isScratchActive() {
169 return getScratchWindows().some(metaWindow => !metaWindow.minimized);
170}
171
172export function toggleScratch() {
173 if (isScratchActive())

Callers 1

toggleScratchFunction · 0.85

Calls 1

getScratchWindowsFunction · 0.85

Tested by

no test coverage detected