electron-tinted-with-sidebar
Version:
Create a native wallpaper-tinted window with a sidebar in Electron on macOS
12 lines (10 loc) • 323 B
TypeScript
import type { Buffer } from "electron";
declare module "electron-tinted-with-sidebar" {
export function setWindowLayout(
window: Buffer,
sidebarWidth: number,
titlebarHeight: number,
titlebarMarginRight?: number,
): void;
export function setWindowAnimationBehavior(window: Buffer, isDocument: boolean): void;
}