Cleaning, adding some commands, etc.
This commit is contained in:
parent
8879215470
commit
72c1267824
3 changed files with 46 additions and 21 deletions
30
bin/sync
30
bin/sync
|
|
@ -1,13 +1,31 @@
|
|||
#!/bin/sh
|
||||
|
||||
if command -v mbsync &> /dev/null; then
|
||||
mbsync -a
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Test
|
||||
# @raycast.mode compact
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 🤖
|
||||
|
||||
# Documentation:
|
||||
# @raycast.author dustinswan
|
||||
# @raycast.authorURL https://raycast.com/dustinswan
|
||||
|
||||
if
|
||||
command -v mbsync >/dev/null
|
||||
then
|
||||
mbsync -a
|
||||
fi
|
||||
|
||||
if command -v mu &> /dev/null; then
|
||||
mu index
|
||||
if
|
||||
command -v mu >/dev/null
|
||||
then
|
||||
mu index
|
||||
fi
|
||||
|
||||
if command -v vdirsyncer &> /dev/null; then
|
||||
vdirsyncer sync
|
||||
if
|
||||
command -v vdirsyncer >/dev/null
|
||||
then
|
||||
vdirsyncer sync
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue