This commit is contained in:
DarthMooMancer committed 2025-07-26 16:37:19 -04:00
1 parent 80e3aae61a
commit e102a0d2b2
52 files changed
+9 -2276

No files matched your search

@@ -1,24 +1,3 @@
# #!/usr/bin/env bash
#
# INTERVAL=600 # 10 minutes
#
# if [[ -f /tmp/last_wallpaper_time ]]; then
# last=$(cat /tmp/last_wallpaper_time)
# else
# last=$(date +%s)
# fi
#
# now=$(date +%s)
# elapsed=$(( now - last ))
# remaining=$(( INTERVAL - elapsed ))
#
# if (( remaining < 0 )); then
# remaining=0
# fi
#
# # Format as mm:ss
# printf "%02d:%02d" $((remaining / 60)) $((remaining % 60))
#
#!/bin/sh
INTERVAL=600 # 10 minutes
@@ -42,4 +21,3 @@ sec=$((remaining % 60))
# Format as mm:ss
printf "%02d:%02d\n" "$min" "$sec"