Added weekday
This commit is contained in:
parent
0cebde4ea6
commit
8af6d64322
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ batterysymbol() {
|
||||||
|
|
||||||
clock() {
|
clock() {
|
||||||
while true; do
|
while true; do
|
||||||
info=$(date +"%d.%m. %H:%M")
|
info=$(date +"%d.%m. (%V) %H:%M")
|
||||||
#Bad hack: convert to int to remove leading 0s
|
#Bad hack: convert to int to remove leading 0s
|
||||||
seconds_to_wait=$[ 61 - $(date +"%S" | awk '{print int($0)}') ];
|
seconds_to_wait=$[ 61 - $(date +"%S" | awk '{print int($0)}') ];
|
||||||
if [ "$seconds_to_wait" -gt 10 ]; then
|
if [ "$seconds_to_wait" -gt 10 ]; then
|
||||||
|
|
Loading…
Reference in a new issue