aboutsummaryrefslogtreecommitdiff
path: root/modules/time
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-10-21 19:20:06 +0100
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-10-21 19:20:06 +0100
commite0efb08f314132af22eb03740d5375e367eb5f67 (patch)
tree72d218eb8ad7487752943113d37a12495474dac1 /modules/time
parenta3733553dac7f11a309d7bce150d05621178dc94 (diff)
Added archupdates module
Diffstat (limited to 'modules/time')
-rw-r--r--modules/time9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/time b/modules/time
index 6b5b4f2..2551229 100644
--- a/modules/time
+++ b/modules/time
@@ -2,6 +2,11 @@
# Prints out the time
-PREFIX_ICON=' '
+PREFIX=' '
-echo "$PREFIX_ICON$(date '+%H:%M')"
+time()
+{
+ echo "$PREFIX$(date '+%H:%M')"
+}
+
+time