os/pkgs/mailto-mutt.nix
2023-01-28 21:49:10 +01:00

12 lines
217 B
Nix

self:
with self; ''
mkdir -p $XDG_CACHE_HOME/log
LOGFILE=$XDG_CACHE_HOME/log/mailto.log
echo "$@" >> $LOGFILE
EDITOR=/etc/profiles/per-user/$USER/bin/nvim
${alacritty}/bin/alacritty -e neomutt -- "$@"
''