[general] Minor refactoring
Shuffled some code around in an attempt to make it easier to read and understand.
This commit is contained in:
parent
47935942f0
commit
55474aadc3
3 changed files with 9 additions and 11 deletions
|
@ -1,16 +1,11 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import bumblebee.theme
|
||||
import bumblebee.engine
|
||||
import bumblebee.outputs.i3
|
||||
|
||||
def main():
|
||||
args = bumblebee.engine.Arguments()
|
||||
|
||||
theme = bumblebee.theme.Theme(args.args())
|
||||
output = bumblebee.outputs.i3.Output(args.args())
|
||||
|
||||
engine = bumblebee.engine.Engine(args.args(), theme, output)
|
||||
engine = bumblebee.engine.Engine(args.args())
|
||||
engine.load_modules()
|
||||
engine.register_events()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue