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 | |
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
-rw-r--r-- | .config/mutt/defaults.muttrc | 1 | ||||
-rwxr-xr-x | .local/bin/dmscrot | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc index a9fc99e..cea7898 100644 --- a/.config/mutt/defaults.muttrc +++ b/.config/mutt/defaults.muttrc @@ -3,6 +3,7 @@ # mutt-wizard will have this file sourced from your muttrc. # In the interest of seamless updating, do not edit this file. # If you want to override any settings, set those in your muttrc. +set editor = "emacsclient -c -a nvim" set mailcap_path = /usr/home/jozan/.config/mutt/mailcap set date_format="%d/%m/%y %H:%M" set index_format="%2C %Z %?X?A& ? %D %-16.16F %s (%-4.4c)" 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); |