diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-04-07 14:11:54 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-04-07 14:11:54 +0200 |
| commit | c29e82464f3fc13eeef41e8bec9af927fe09100e (patch) | |
| tree | c3ac29352b21a8a1641f81eedeb357f731937941 | |
| parent | 806127cb6f3cea8ce1ada0714a7ea9b0784b573c (diff) | |
2026-04-07 updates by auto-switch
| -rw-r--r-- | common/home/default.nix | 1 | ||||
| -rw-r--r-- | common/home/programs/zsh/init.sh | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/common/home/default.nix b/common/home/default.nix index 802d233..5f12198 100644 --- a/common/home/default.nix +++ b/common/home/default.nix @@ -73,6 +73,7 @@ packages = [ pkgs.waydroid-helper pkgs.gcr pkgs.pv + pkgs.snes9x-gtk ]; in { 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 |