From fc732d3197cfe3dff8575ea4544da24939c3c3b5 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Mon, 26 Sep 2022 10:19:08 +0800 Subject: Update --- Makefile | 6 +++++- mutt/default | 4 ++-- mutt/mutt.desktop | 7 +++++++ 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100755 mutt/mutt.desktop diff --git a/Makefile b/Makefile index 8984b3c..aa594ea 100644 --- a/Makefile +++ b/Makefile @@ -46,9 +46,13 @@ pass: git clone ssh://vps/~/.password-store ~/.password-store; fi -mutt: +~/.local/share/application: + mkdir -p $@ + +mutt: ~/.local/share/application rm -rf ~/.config/mutt ln -sf `pwd`/mutt ~/.config/mutt + ln -sf `pwd`/mutt/mutt.desktop $< tmux: ln -sf `pwd`/misc/tmux.conf ~/.tmux.conf diff --git a/mutt/default b/mutt/default index 69b5595..9e88d4c 100644 --- a/mutt/default +++ b/mutt/default @@ -54,8 +54,8 @@ bind pager gg noop bind pager gg top bind pager j next-line bind pager k previous-line -bind pager \cj next-entry -bind pager \ck previous-entry +bind pager \cn next-entry +bind pager \cp previous-entry bind pager \ch display-toggle-weed bind attach x view-mailcap macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" diff --git a/mutt/mutt.desktop b/mutt/mutt.desktop new file mode 100755 index 0000000..f5bd528 --- /dev/null +++ b/mutt/mutt.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Mutt +Comment=My beloved mail client +Exec=alacritty -e mutt %u +MimeType=x-scheme-handler/mailto +Terminal=true +Type=Application -- cgit v1.2.3-70-g09d2