feat: dedicated script for statusbar date module

This commit is contained in:
David JULIEN 2021-02-16 21:23:54 +01:00
parent 397f10b8d2
commit f566ff7d8f
1 changed files with 15 additions and 0 deletions

15
.local/bin/statusbar/sb-date Executable file
View File

@ -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"