mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-09 14:19:43 +00:00
747bddd93a
Bug occured when the hour was single digit, so we now remove preceding 0s
12 lines
106 B
Bash
Executable file
12 lines
106 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Prints out the date
|
|
|
|
PREFIX=''
|
|
|
|
get_day()
|
|
{
|
|
echo "$PREFIX $(date '+%a')"
|
|
}
|
|
|
|
get_day
|