summaryrefslogtreecommitdiff
path: root/common/home/programs
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-04-07 14:11:54 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-04-07 14:11:54 +0200
commitc29e82464f3fc13eeef41e8bec9af927fe09100e (patch)
treec3ac29352b21a8a1641f81eedeb357f731937941 /common/home/programs
parent806127cb6f3cea8ce1ada0714a7ea9b0784b573c (diff)
2026-04-07 updates by auto-switch
Diffstat (limited to 'common/home/programs')
-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