import QtQuick import Quickshell.Io import "../theme" import "../core" import "../dock" Item { IpcHandler { target: "polishTest" function staleScreens(): void { ShellState.targetScreen = { name: "removed-test-output" }; ShellState.launcherScreen = { name: "removed-test-output" }; ShellState.controlCenterScreen = { name: "removed-test-output" }; } function snapshot(): string { return JSON.stringify({ intensity: Theme.intensity, duration: Theme.duration, accent: Theme.accent.toString(), foreground: Theme.accentText.toString(), active: ScreenService.active.name, settingsScreen: ShellState.settingsWindow.screen.name, controlScreen: ShellState.controlCenterWindow.screen.name, dock: DockState.icons.map(i => ({ influence: i.influence, magnification: i.magnification })), systemPills: ShellState.systemPills.length }); } } }