32 lines
1.4 KiB
Protocol Buffer
32 lines
1.4 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package main;
|
|
|
|
message Placement {
|
|
message Size {
|
|
int64 w = 1;
|
|
int64 h = 2;
|
|
}
|
|
message Offset {
|
|
int64 x = 1;
|
|
int64 y = 2;
|
|
}
|
|
message Geom {
|
|
Size size = 1;
|
|
Offset offset = 2;
|
|
}
|
|
// used for grid layouts
|
|
string name = 1; // `autogenpb:sort` `autogenpb:unique`
|
|
Geom geom = 2;
|
|
int32 workspace = 3; // what workspace to show the app on
|
|
string wd = 4; // working dir. Tries to set xterm path at start to this
|
|
repeated string argv = 5; // argv. argv[0] should be the executable name
|
|
string namespace = 6; // namespace of the executable (go.wit.com/apps/forge)
|
|
}
|
|
message Placements { // `autogenpb:marshal` `autogenpb:mutex`
|
|
string uuid = 1; // `autogenpb:uuid:31769bcb-5865-4926-b7d6-501083312eea`
|
|
string version = 2; // `autogenpb:version:v0.0.1`
|
|
repeated Placement Placement = 3;
|
|
string filename = 4; // used by the config save function
|
|
}
|