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/date | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'modules/date') 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 -- cgit v1.2.3