From 938d24b33e56df8652807a4905411ee1a453a27d Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 10 Oct 2016 10:47:18 +0300 Subject: [PATCH] display date as a separate entity --- i3_status | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i3_status b/i3_status index 5c35bda..3e53bb1 100755 --- a/i3_status +++ b/i3_status @@ -14,8 +14,10 @@ def status_print(status_msg): print('{"version":1}\n[') while True: values = list() - current_time = time.strftime('%a %d %H:%M') + current_time = time.strftime('%H:%M') values.append(current_time) + current_day = time.strftime('%a %d') + values.append(current_day) mem = psutil.virtual_memory() memory = 'RAM: {}% ({}G)'.format(round(100.0 - mem.percent, 2), round(mem.available / 2**30, 2))