dwmbar/modules/time

13 lines
111 B
Text
Raw Permalink Normal View History

2019-10-21 18:00:47 +00:00
#!/bin/bash
# Prints out the time
2019-10-21 18:20:06 +00:00
PREFIX=' '
2019-10-21 18:00:47 +00:00
get_time()
2019-10-21 18:20:06 +00:00
{
echo "$PREFIX$(date '+%H:%M')"
}
get_time