fractalide / fractalide-oz

Proof of concept
GNU Affero General Public License v3.0
12 stars 3 forks source link

configuration.fbp #42

Open sjmackenzie opened 10 years ago

sjmackenzie commented 10 years ago

Every user will want to configure their environment, suchas changing their workspace background picture, keyboard shortcuts, a list of applications the want default in their environment. This file should be stored in a place like ~/.fractalide/configuration.fbp.

dmichiels commented 10 years ago

Really like the idea, I never thought to use FBP to make options. It is that you have in mind? That can be a very powerful way to manage the options!

"background:image.png" => background_path
"[emacs firefox]" => default_applications

And connect this sub-component to the editor.fbp ? No parsing, no new syntax, powerful, complex initialization, ...

sjmackenzie commented 10 years ago

Exactly!

Eventually it could be possible to configure many different parts of your environment, not only using external tools much for example how you want the panels laid out, which mode you want to start in, text colour, text font, etc.

This way you could just store all your changes in a git repo and carry it from environment to environment. Indeed one could just shore it on the NDN.

Your example is even more simple than I imagined!

Though I'd imagine editor.fbp won't be top level, I'd image fractalide.fbp being top level as it supports the run mode and can switch into editor mode when you need to edit the graph that's when it would call editor.fbp. So the root folder would only contain license info, readme, contributing Makefile and fractalide.fbp and a bash/bat script to automate execution (and /lib and maybe /test and /components)