aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/sb-doppler
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-28 01:59:35 +0300
committerawy <awy@tutamail.com>2024-08-28 01:59:35 +0300
commitb06e65af9ebab8bf798ac604eded246281e1e002 (patch)
tree28d428ca293f0a1cfe0b9457140d8e874fc7e4e1 /.local/bin/statusbar/sb-doppler
parent171cb279b05e639f07162059d1d0f390497e36b6 (diff)
theme
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 🌅