mail: Rename mailbox syncing script
Renamed script to sync local mbox directory with remote from `mail-check` to `sync-mail`. Changed necessary integrations accordingly (neomutt and system service).
This commit is contained in:
parent
a082d60a07
commit
ff2cbe7e2d
3 changed files with 4 additions and 3 deletions
|
@ -53,8 +53,8 @@ bind index,pager R group-reply
|
||||||
macro index,pager \CU "|urlview<enter>" "call urlview to open links"
|
macro index,pager \CU "|urlview<enter>" "call urlview to open links"
|
||||||
|
|
||||||
# Refresh far imap email
|
# Refresh far imap email
|
||||||
macro index O "<sync-mailbox><shell-escape>export MBSYNC_PRE=true; mail-check<enter><sync-mailbox>" "refresh all e-mail"
|
macro index O "<sync-mailbox><shell-escape>export MBSYNC_PRE=true; sync-mail<enter><sync-mailbox>" "refresh all e-mail"
|
||||||
macro index o "<sync-mailbox><shell-escape>export MBSYNC_PRE=true; mail-check gmail-inbox<enter><sync-mailbox>" "refresh inbox e-mail"
|
macro index o "<sync-mailbox><shell-escape>export MBSYNC_PRE=true; sync-mail gmail-inbox<enter><sync-mailbox>" "refresh inbox e-mail"
|
||||||
|
|
||||||
# Saner copy/move dialogs
|
# Saner copy/move dialogs
|
||||||
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
|
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
|
||||||
|
|
|
@ -5,4 +5,5 @@ After=network.target network-online.target dbus.socket gpg-agent.socket
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/home/marty/.local/bin/mail-check
|
# workaround to allow relative executable invocation (i.e. current users' home dir)
|
||||||
|
ExecStart=/bin/bash -c '%h/.local/bin/sync-mail'
|
||||||
|
|
Loading…
Reference in a new issue