ludat/SB — pull request #8 by ludat (2014-10-02 06:41:06+00:00)
Title: Improved enable, changed to the directory structure, added external config file and removed inotify

Improved enable:
---------------------
0. Now widgets are in the **widgets** directory and their name should be static (so it won't mess up with git).
*Note*: now the widgets can be anywhere in the file system but remember that - at least for now - dzen's cwd is always the Main.py directory so if you want to use a relative to file from dzen keep this in mind (it's probably better to use absolute paths and twink them from inside the widget)
1. Now all the resources are in the same path as Main.py meaning the default path for dzen.
2. Added a really useless config file (SB.config) for the future
3. Dropped inotify completely because symlinks don't react to changes to the source file and checking every file is far too tedious (I'll add a socket input to ask the Engine to do stuff like reload, disable and possibly some scripted events for easier shortcuts)