aboutsummaryrefslogtreecommitdiff
path: root/bin/.local
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2025-08-08 16:11:05 -0500
committerBardofSprites <[email protected]>2025-08-08 16:11:05 -0500
commit93936109807481e6d3c7c46798dbface2d32299b (patch)
treeab77b149e7d7d7d31548d7b07d1ad8ffabd307c9 /bin/.local
parent78a1eb6d3383d1fff068e4f2f0f3aaa4598776b1 (diff)
add timestamp when complete
Diffstat (limited to 'bin/.local')
-rwxr-xr-xbin/.local/bin/scripts/perl/forecast4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/.local/bin/scripts/perl/forecast b/bin/.local/bin/scripts/perl/forecast
index 88a39ca..379675c 100755
--- a/bin/.local/bin/scripts/perl/forecast
+++ b/bin/.local/bin/scripts/perl/forecast
@@ -5,6 +5,7 @@ use LWP::UserAgent;
use JSON::PP;
use POSIX qw(strftime);
use Time::Piece;
+use Time::localtime;
use Text::Table;
use Term::ANSIColor;
@@ -69,3 +70,6 @@ print $fh $tb;
close $fh;
print "Successfully wrote output to cache file\n";
+
+my $timestamp = Time::Piece::localtime->strftime("%Y-%m-%d (%a) %H:%M");
+system("notify-send 'Updated forecast' '$timestamp'");