From f566ff7d8fc1c0b3518ab5a931d3fb1610eb4683 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Tue, 16 Feb 2021 21:23:54 +0100 Subject: [PATCH] feat: dedicated script for statusbar date module --- .local/bin/statusbar/sb-date | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 .local/bin/statusbar/sb-date diff --git a/.local/bin/statusbar/sb-date b/.local/bin/statusbar/sb-date new file mode 100755 index 0000000..0045759 --- /dev/null +++ b/.local/bin/statusbar/sb-date @@ -0,0 +1,15 @@ +#!/usr/bin/env sh + +###################################################################### +# @author : swytch (swytch@$HOSTNAME) +# @file : sb-date +# @license : MIT +# @created : Tuesday Feb 16, 2021 20:43:14 CET +# +# @description : date block for dwmblocks +###################################################################### + + +date="$(date '+%b. %d - %I:%M%p')" + +printf " %s " "$date"