Begin implementing screen thread in lemonbar
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user