From e0efb08f314132af22eb03740d5375e367eb5f67 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Mon, 21 Oct 2019 19:20:06 +0100 Subject: Added archupdates module --- modules/time | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'modules/time') 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 -- cgit v1.2.3