aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/sb-doppler
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/statusbar/sb-doppler')
-rwxr-xr-x.local/bin/statusbar/sb-doppler1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/statusbar/sb-doppler b/.local/bin/statusbar/sb-doppler
index a29203a..4fb9d0b 100755
--- a/.local/bin/statusbar/sb-doppler
+++ b/.local/bin/statusbar/sb-doppler
@@ -19,4 +19,5 @@ After $secs seconds, new clicks will also automatically update the doppler RADAR
6) hyprctl dispatch exec "kitty -e \"$EDITOR\" \"$0\"" ;;
esac
+[ $(($(date '+%s') - $(stat -c %Y "$doppler"))) -gt "$secs" ] && getdoppler
echo 🌅