diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-10-21 19:20:06 +0100 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-10-21 19:20:06 +0100 |
commit | e0efb08f314132af22eb03740d5375e367eb5f67 (patch) | |
tree | 72d218eb8ad7487752943113d37a12495474dac1 /modules/date | |
parent | a3733553dac7f11a309d7bce150d05621178dc94 (diff) |
Added archupdates module
Diffstat (limited to 'modules/date')
-rw-r--r-- | modules/date | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/date b/modules/date index 87326f7..c6ddc38 100644 --- a/modules/date +++ b/modules/date @@ -1,8 +1,12 @@ -#!/bin/sh +#!/bin/bash # Prints out the date -PREFIX_ICON='' +PREFIX='' -echo "$PREFIX_ICON $(date '+%d-%m-%y (%a)')" +date() +{ + echo "$PREFIX $(date '+%d-%m-%y (%a)')" +} +date |