summaryrefslogtreecommitdiff
path: root/common/home
diff options
context:
space:
mode:
Diffstat (limited to 'common/home')
-rw-r--r--common/home/default.nix1
-rw-r--r--common/home/programs/zsh/init.sh3
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