First commit

master
jason.zhu 2021-02-14 22:39:47 +11:00
parent c54f57a97e
commit 37ccb00249
3 changed files with 29 additions and 1 deletions

View File

@ -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

1
project.json 100644
View File

@ -0,0 +1 @@
{}

View File

@ -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<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;