diff options
author | Joe <bousset.rudy@gmail.com> | 2022-05-01 21:40:12 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-05-01 21:40:12 +0200 |
commit | cf63940eed0a6fc144bf5edc73208a302a7f71d4 (patch) | |
tree | 054624a9891d7f8c607cad380c515ea47d76db80 /.local | |
parent | udpate (diff) | |
download | dotfiles-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/dmscrot | 2 |
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); |