From d792cee50c79e29299a33031809dea6020e3c979 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 2 Feb 2025 18:04:13 +0900 Subject: modified statusbar/sb-clock --- ar/.local/bin/statusbar/sb-clock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ar/.local/bin/statusbar/sb-clock b/ar/.local/bin/statusbar/sb-clock index e0e8c53..e3ec9a4 100755 --- a/ar/.local/bin/statusbar/sb-clock +++ b/ar/.local/bin/statusbar/sb-clock @@ -1,9 +1,9 @@ #!/bin/sh # Get current hour and minute +calendar="🗓️" hour=$(date '+%I') minute=$(date '+%M') -calendar="🗓️" # Determine the icon based on hour and minute if crontab -l 2>/dev/null | grep -q '^[^#[:space:]]'; then @@ -43,7 +43,7 @@ else fi # Shows the current moon phase. -moonfile="${XDG_DATA_HOME:-${HOME}/.local/share}/moonphase" +moonfile="${XDG_DATA_HOME:-${HOME}/.local/share}/wallpapers/moonphase" [ -s "$moonfile" ] && [ "$(stat -c %y "$moonfile" 2>/dev/null | cut -d' ' -f1)" = "$(date '+%Y-%m-%d')" ] || { curl -sf "wttr.in/?format=%m" >"$moonfile" || exit 1; } -- cgit v1.2.3