[core/theme] Add preparatory work for themes
Add two new parameters: theme and iconset Add a placeholder class core.theme.Theme, an instance of which is passed in to the i3 output object (which is the only object that should ever have need of the theme, hopefully).
This commit is contained in:
parent
b157aa9fb5
commit
5d971267db
5 changed files with 51 additions and 17 deletions
|
@ -2,8 +2,10 @@ import sys
|
|||
import json
|
||||
import time
|
||||
|
||||
import core.theme
|
||||
|
||||
class i3(object):
|
||||
def __init__(self):
|
||||
def __init__(self, theme=core.theme.Theme()):
|
||||
self._modules = []
|
||||
self._status = {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue