diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2022-09-26 10:19:08 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2022-09-26 10:19:08 +0800 |
| commit | fc732d3197cfe3dff8575ea4544da24939c3c3b5 (patch) | |
| tree | c9f6c79c9902781fe9f0f25b228d550b047a7bab | |
| parent | 8ad64bcafabe1f5ea1f6a32b99e895731dade962 (diff) | |
Update
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | mutt/default | 4 | ||||
| -rwxr-xr-x | mutt/mutt.desktop | 7 |
3 files changed, 14 insertions, 3 deletions
| @@ -46,9 +46,13 @@ pass: | |||
| 46 | git clone ssh://vps/~/.password-store ~/.password-store; | 46 | git clone ssh://vps/~/.password-store ~/.password-store; |
| 47 | fi | 47 | fi |
| 48 | 48 | ||
| 49 | mutt: | 49 | ~/.local/share/application: |
| 50 | mkdir -p $@ | ||
| 51 | |||
| 52 | mutt: ~/.local/share/application | ||
| 50 | rm -rf ~/.config/mutt | 53 | rm -rf ~/.config/mutt |
| 51 | ln -sf `pwd`/mutt ~/.config/mutt | 54 | ln -sf `pwd`/mutt ~/.config/mutt |
| 55 | ln -sf `pwd`/mutt/mutt.desktop $< | ||
| 52 | 56 | ||
| 53 | tmux: | 57 | tmux: |
| 54 | ln -sf `pwd`/misc/tmux.conf ~/.tmux.conf | 58 | 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 | |||
| 54 | bind pager gg top | 54 | bind pager gg top |
| 55 | bind pager j next-line | 55 | bind pager j next-line |
| 56 | bind pager k previous-line | 56 | bind pager k previous-line |
| 57 | bind pager \cj next-entry | 57 | bind pager \cn next-entry |
| 58 | bind pager \ck previous-entry | 58 | bind pager \cp previous-entry |
| 59 | bind pager \ch display-toggle-weed | 59 | bind pager \ch display-toggle-weed |
| 60 | bind attach x view-mailcap | 60 | bind attach x view-mailcap |
| 61 | macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" | 61 | 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 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Name=Mutt | ||
| 3 | Comment=My beloved mail client | ||
| 4 | Exec=alacritty -e mutt %u | ||
| 5 | MimeType=x-scheme-handler/mailto | ||
| 6 | Terminal=true | ||
| 7 | Type=Application | ||