lemonbar: Handle restarts

This commit is contained in:
kuben
2019-07-28 12:02:50 +02:00
parent 162c3a208f
commit 96d944d2ef
3 changed files with 105 additions and 65 deletions

View File

@@ -6,6 +6,10 @@ import i3_lemonbar_config as config
p_screen = None
kill_on_unfocus = []
# Loggers, initialized in main function
logger = None
health_logger = None
class bar_mode(Enum):
power, normal, control = range(-1,2) # Don't cycle through power