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 --- .config/mutt/defaults.muttrc | 1 + .local/bin/dmscrot | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3