Dotfiles-dwm/dwmbar/modules/date

13 lines
119 B
Plaintext
Raw Permalink Normal View History

2024-06-02 11:02:06 +00:00
#!/bin/bash
# Prints out the date
PREFIX=''
get_date()
{
echo "$PREFIX $(date '+%d-%m-%y (%a)')"
}
get_date