From cf63940eed0a6fc144bf5edc73208a302a7f71d4 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 1 May 2022 21:40:12 +0200 Subject: UNIX timestamp is sexy --- .local/bin/dmscrot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/dmscrot') diff --git a/.local/bin/dmscrot b/.local/bin/dmscrot index 5935491..5a13835 100755 --- a/.local/bin/dmscrot +++ b/.local/bin/dmscrot @@ -34,7 +34,7 @@ sub file_name my $file_name; $file_name = home() . '/' . SAVE_PATH . 'screen_'; - $file_name .= `date "+%Y-%m-%d_%H-%M-%S"`; + $file_name .= `date +%s`; chomp $file_name; $file_name .= '.png'; return ($file_name); -- cgit v1.2.3