diff options
Diffstat (limited to 'modules/time')
-rw-r--r-- | modules/time | 9 |
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 |