Begin implementing screen thread in lemonbar

This commit is contained in:
kuben
2019-07-28 11:56:39 +02:00
parent aa1283a006
commit bfe90a1c45
3 changed files with 32 additions and 22 deletions

View File

@@ -39,10 +39,10 @@ def img_path(num):
class State(object):
# workspace states
focused = 'FOC'
active = 'ACT'
focused = 'FOC'
active = 'ACT'
inactive = 'INA'
urgent = 'URG'
urgent = 'URG'
def get_state(self, workspace, output):
if workspace['focused']:
@@ -183,4 +183,4 @@ if __name__ == '__main__':
except KeyboardInterrupt:
print('') # force new line
# finally:
# ws.quit()
# ws.quit()