diff --git a/README.md b/README.md index e3eab5c..d1fe46e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ -# workspacer-config +# README + +This is Workspacer's configuration place. I learned about this project from [Hacker News](https://news.ycombinator.com/item?id=20895031) + +This project requries knowledge of C#. Hence, I will come back later diff --git a/project.json b/project.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/project.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/workspacer.config.csx b/workspacer.config.csx new file mode 100644 index 0000000..5d976a3 --- /dev/null +++ b/workspacer.config.csx @@ -0,0 +1,23 @@ +#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 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; \ No newline at end of file