mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-12-23 05:22:53 +00:00
Add DAY_OF_WEEK module
Prints out which day of the week it is (Thursday, etc)
This commit is contained in:
parent
c5d1205e0c
commit
e766223315
1 changed files with 12 additions and 0 deletions
12
modules/day_of_week
Normal file
12
modules/day_of_week
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Prints out the date
|
||||
|
||||
PREFIX=''
|
||||
|
||||
get_day()
|
||||
{
|
||||
echo "$PREFIX $(date '+%a')"
|
||||
}
|
||||
|
||||
get_day
|
Loading…
Reference in a new issue