This commit is contained in:
DarthMooMancer committed 2025-08-04 13:45:06 -04:00
1 parent 1be1837920
commit c79ff6e8c1
6 files changed
+61 -179

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
last=$(cat /tmp/last_wallpaper_time)
now=$(date +%s)
remaining=$((600 - (now - last)))
[ "$remaining" -lt 0 ] && remaining=0
min=$((remaining / 60))
sec=$((remaining % 60))
# Format as mm:ss
printf "%02d:%02d\n" "$min" "$sec"