summaryrefslogtreecommitdiff
path: root/common/home/programs/zsh/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/home/programs/zsh/init.sh')
-rw-r--r--common/home/programs/zsh/init.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/home/programs/zsh/init.sh b/common/home/programs/zsh/init.sh
index 4bf448b..06db11d 100644
--- a/common/home/programs/zsh/init.sh
+++ b/common/home/programs/zsh/init.sh
@@ -13,11 +13,12 @@ PROMPT2='%B%F{0}%(?. .%K{red} %? %k)%f +%b '
TIMEFMT="$(esc 1 32) >$(esc 0 3 2) %J $(esc 0) $(esc 43 30 1)  %*Us $(esc 0) $(esc 42 30 1) 󰌽 %*Ss $(esc 0) $(esc 46) 󰥔 %*Es $(esc 0) $(esc 0 45 1)  %P $(esc 0)"
+days_until=$(( ($(date +%s -ud '2028-05-27') - $(date +%s)) / 3600 / 24 ))
days_with_janina=$(( ($(date +%s) - $(date +%s -ud '2025-08-14')) / 3600 / 24 ))
days_together_with_janina=$(( ($(date +%s) - $(date +%s -ud '2025-09-27')) / 3600 / 24 ))
esc 34
echo
-toilet -f future "$days_with_janina, $days_together_with_janina days"
+toilet -f future "$days_with_janina, $days_together_with_janina, $days_until days"
echo
esc 0