This commit is contained in:
DarthMooMancer
2025-07-26 16:37:19 -04:00
parent 0a467867b1
commit 8306b33e96
52 changed files with 9 additions and 2276 deletions
@@ -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"