lemonbar: Implement callbacks for host specific stuff

This commit is contained in:
kuben
2019-07-28 19:33:23 +02:00
parent 96d944d2ef
commit d959aa232c
3 changed files with 89 additions and 67 deletions

View File

@@ -193,7 +193,7 @@ def strip_ansi_unicode(s):
def user_screen():
# Attach to screen session, creating if needed, in UTF-8 mode
common.p_screen = subprocess.Popen('screen -D -R -U -S lemonbar' # TODO lemonbar_user
common.p_screen = subprocess.Popen(common.screen_args # TODO lemonbar_user
,stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True)
for line in common.p_screen.stdout:
#try: