This commit is contained in:
DarthMooMancer
2025-08-04 13:45:06 -04:00
parent 9b04646c65
commit 3163322701
6 changed files with 61 additions and 179 deletions
+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"