2025-06-24 16:57:29 -04:00
|
|
|
from datetime import datetime
|
|
|
|
|
|
|
|
from theme import current_theme, default
|
|
|
|
|
|
|
|
if current_theme.fg == current_theme.fg_alt:
|
|
|
|
current_theme.fg_alt = current_theme.base7
|
|
|
|
|
|
|
|
date = f"^c{current_theme.fg}^"
|
|
|
|
time = f"^c{current_theme.fg_alt}^"
|
2025-07-14 21:45:44 -04:00
|
|
|
data = datetime.now().strftime(f"{date}%a %b %d, {time}%H:%M")
|
|
|
|
content = f"^v^{data}^t^"
|