|
@@ -8,8 +8,8 @@
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
function emoji-clock() {
|
|
|
- hour=$(date '+%I')
|
|
|
- minutes=$(date '+%M')
|
|
|
+ hour=$(date -v '+15M' '+%I')
|
|
|
+ minutes=$(date -v '+15M' '+%M')
|
|
|
case $hour in
|
|
|
01) clock="๐"; [ $minutes -ge 30 ] && clock="๐";;
|
|
|
02) clock="๐"; [ $minutes -ge 30 ] && clock="๐";;
|