summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-01 21:40:12 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-01 21:40:12 +0200
commitcf63940eed0a6fc144bf5edc73208a302a7f71d4 (patch)
tree054624a9891d7f8c607cad380c515ea47d76db80 /.local
parentudpate (diff)
downloaddotfiles-bsd-cf63940eed0a6fc144bf5edc73208a302a7f71d4.tar.gz
dotfiles-bsd-cf63940eed0a6fc144bf5edc73208a302a7f71d4.tar.bz2
dotfiles-bsd-cf63940eed0a6fc144bf5edc73208a302a7f71d4.tar.xz
dotfiles-bsd-cf63940eed0a6fc144bf5edc73208a302a7f71d4.tar.zst
dotfiles-bsd-cf63940eed0a6fc144bf5edc73208a302a7f71d4.zip
UNIX timestamp is sexy
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/dmscrot2
1 files changed, 1 insertions, 1 deletions
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);