diff options
author | Archie Hilton (thytom) <archie.hilton1@gmail.com> | 2019-10-21 19:20:28 +0100 |
---|---|---|
committer | Archie Hilton (thytom) <archie.hilton1@gmail.com> | 2019-10-21 19:20:28 +0100 |
commit | 7b56a67e1cf04fef081f702ad3990894f5020f3a (patch) | |
tree | 042dde978adf81a4a3c0e5efaffbd272e077d4a1 /modules/time | |
parent | 858149f3aba1b99c3d554b1885fb4c3a85b21860 (diff) | |
parent | e0efb08f314132af22eb03740d5375e367eb5f67 (diff) |
Merge branch 'master' of github.com:thytom/dwmbar
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 |