[polybar] Adjust clock colors to match yambar config

This commit is contained in:
Midgard 2022-09-05 00:20:25 +02:00
parent 23a11649cd
commit 3ddd8ecbb3
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -37,15 +37,15 @@ try:
def color_for(t):
if t.hour < 5 or t.hour > 22:
return "%{F#888}"
return "%{F#888888}" # "%{F#888}"
elif t.hour < 10:
return "%{F#DB9}"
return "%{F#e2d39a}" # "%{F#DB9}"
elif t.hour < 14:
return "%{F#DDB}"
return "%{F#dec7aa}" # "%{F#DDB}"
elif t.hour < 19:
return "%{F#DDD}"
return "%{F#deceb0}" # "%{F#DDD}"
else:
return "%{F#D9B}"
return "%{F#ff948d}" # "%{F#D9B}"
while True: