lemonbar: Cleaning up
Add connection to i3ws object. Log exceptions with debugger
This commit is contained in:
@@ -10,7 +10,6 @@ kill_on_unfocus = []
|
||||
logger = None
|
||||
health_logger = None
|
||||
|
||||
screen_send_cmd = lambda s : None # TODO temporary until move actions to modules
|
||||
write_queue = None # TODO Actually, why is this a queue? Just last element is important
|
||||
|
||||
# TODO bar mode can be moved to i3Module
|
||||
@@ -25,13 +24,6 @@ class bar_mode(Enum):
|
||||
|
||||
mode = bar_mode.normal
|
||||
|
||||
show_secs = False
|
||||
|
||||
# Keymaps
|
||||
def_keymap = 'pl'
|
||||
keymaps = {'firefox': 'se'}
|
||||
cur_class = ''
|
||||
|
||||
# Helper functions
|
||||
ansi_escape = re.compile(r'(\x9B|\x1B\[)[0-?]*[ -/]*[@-~]')
|
||||
def strip_ansi_unicode(s):
|
||||
|
||||
Reference in New Issue
Block a user