summaryrefslogtreecommitdiff
path: root/.local/bin/lemonbar/modules/clock.py
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/lemonbar/modules/clock.py')
-rw-r--r--.local/bin/lemonbar/modules/clock.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/lemonbar/modules/clock.py b/.local/bin/lemonbar/modules/clock.py
new file mode 100644
index 0000000..c4dc713
--- /dev/null
+++ b/.local/bin/lemonbar/modules/clock.py
@@ -0,0 +1,6 @@
+from time import strftime
+
+
+def callback():
+ clock = strftime("%d %b (%a) %H:%M")
+ return f"CLK: {clock}"