Layouts
LoadLayout, SaveLayout, DeleteLayout, FavoriteLayout
Acts on a saved layout. Slots start at 0.
send('LoadLayout', { rawData: '0' });RequestLayoutInfo
on('UpdateLayoutInfo', (info) => console.log('Loaded layout:', info.current));
send('RequestLayoutInfo');Response
{
current: string // Index of the loaded layout
favorite: string // Index of the favorite layout
layouts: { name: string, index: number, version: number, windowCount: number }[]
}