dwmbar/modules/date

13 lines
111 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=''
2019-10-21 18:20:06 +00:00
date()
{
echo "$PREFIX $(date '+%d-%m-%y (%a)')"
}
2019-10-21 18:20:06 +00:00
date