dot/.local/bin/i3scripts/contrib/date

14 lines
259 B
Plaintext
Raw Permalink Normal View History

2021-12-20 21:49:21 +00:00
#!/usr/bin/env bash
################################
# Shows current date
#
# @param {String} format: The format of the date
# @return {Date}: Current date
################################
format=${BLOCK_INSTANCE:-"%Y-%m-%d"}
date +"$format"
date +"%m-%d"