Table of Contents

Layout Preview Plugin

The LayoutPreviewPlugin adds a preview of the next layout when the user drags a window.

The LayoutPreviewPlugin has no configuration options.

Layout preview demo

Things to Note

  • When there are multiple possible rectangles which could contain a window, the preview will highlight the first rectangle which contains the mouse.
  • The layout preview will not show the preview colors if the setting Transparency effects in Windows is turned off.

Example Usage

#r "WHIM_PATH\plugins\Whim.LayoutPreview\Whim.LayoutPreview.dll"

using Whim;
using Whim.LayoutPreview;

void DoConfig(IContext context)
{
  // ...

  LayoutPreviewPlugin layoutPreviewPlugin = new(context);
  context.PluginManager.AddPlugin(layoutPreviewPlugin);

  // ...
}

return DoConfig;

Commands

N/A