[modules/cmus] Re-add cmus module
Re-add a first version of the cmus module originally contributed by @paxy97. Still missing: * Icon themes (status) * On-click actions see #23
This commit is contained in:
parent
9ce7739efb
commit
87e76b9e40
6 changed files with 102 additions and 1 deletions
|
@ -8,9 +8,10 @@ import uuid
|
|||
|
||||
class Widget(object):
|
||||
"""Represents a single visible block in the status bar"""
|
||||
def __init__(self, full_text):
|
||||
def __init__(self, full_text="", name=""):
|
||||
self._full_text = full_text
|
||||
self.module = None
|
||||
self.name = name
|
||||
self.id = str(uuid.uuid4())
|
||||
|
||||
def link_module(self, module):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue