sway-tools
Version:
Some tools and a library for controlling sway
12 lines (11 loc) • 351 B
TypeScript
import { Output } from '../interfaces/output.interface';
import { Tree } from '../interfaces/tree.interface';
export declare class Sway {
private commands;
getOutputs(): Promise<Output[]>;
getTree(): Promise<Tree>;
focus(): this;
output(output: Output): this;
bg(file: string, mode: 'fill'): this;
exec(): Promise<void>;
}