dwmbar/modules/date

13 lines
119 B
Text
Raw Normal View History

2019-10-21 18:20:06 +00:00
#!/bin/bash
# Prints out the date
2019-10-21 18:20:06 +00:00
PREFIX=''
get_date()
2019-10-21 18:20:06 +00:00
{
echo "$PREFIX $(date '+%d-%m-%y (%a)')"
}
get_date