workspacer-config/workspacer.config.csx

23 lines
793 B
Plaintext
Raw Normal View History

2021-02-14 22:39:47 +11:00
#r "C:\Program Files\workspacer\workspacer.Shared.dll"
#r "C:\Program Files\workspacer\plugins\workspacer.Bar\workspacer.Bar.dll"
#r "C:\Program Files\workspacer\plugins\workspacer.ActionMenu\workspacer.ActionMenu.dll"
#r "C:\Program Files\workspacer\plugins\workspacer.FocusIndicator\workspacer.FocusIndicator.dll"
using System;
using workspacer;
using workspacer.Bar;
using workspacer.ActionMenu;
using workspacer.FocusIndicator;
Action<IConfigContext> doConfig = (context) =>
{
// Uncomment to switch update branch (or to disable updates)
//context.Branch = Branch.None
context.AddBar();
context.AddFocusIndicator();
var actionMenu = context.AddActionMenu();
context.WorkspaceContainer.CreateWorkspaces("one", "two", "three", "four", "five");
};
return doConfig;