[modules] Add CPU module

Also, change minwidth from theme.minwidth to widget property
This commit is contained in:
Tobias Witek 2020-03-06 14:31:29 +01:00
parent 51faef9fd4
commit d2e8057141
6 changed files with 48 additions and 3 deletions

View file

@ -5,6 +5,11 @@ import core.input
import core.widget
import core.decorators
try:
error = ModuleNotFoundError('')
except Exception as e:
ModuleNotFoundError = Exception
log = logging.getLogger(__name__)
def load(module_name, config=None):