summaryrefslogtreecommitdiff
path: root/bin/mailsync
AgeCommit message (Collapse)Author
2021-01-01systemd fix, check for variables with whitespaceLuke Smith
2020-12-31workable mailsync readded to enable autosyncLuke Smith
the new script manually searches for environmental variables so that it can work from a cronjob and additionally searches for all Xorg displays on Linux so that the display notification should appear correctly no doubt there will be more bugs, but this is what the people want and it's worth working out
2020-07-09like i said...Luke Smith
2020-06-16changed ping address to a more friendly location (#399)CosmosAtlas
* changed ping address to a more friendly location `1.1.1.1` is not a friendly address for users from some parts of the world (e.g., China). Changed to `example.org` which should be more friendly to access. * changed internet check by fallback This is probably better since for most people it does the same thing and the first back up is Cloudfare's other DNS address which surprisingly can be accessed in more places (e.g., China) now. And changed the finall fallback as example.org.
2020-06-08fix blank opt flag (#454)Rob
If no options are passed but the accounts are specified then the blank opt flag causes a (harmless) error message from mbsync about an empy channel. Co-authored-by: rjl6789 <rlives6789@gmail.com>
2020-05-31Merge branch 'master' of github.com:LukeSmithxyz/mutt-wizardLuke Smith
2020-05-31Cleanup (#450)JameyBear
* Simple Fixes * Tweak wording * Update openfile * ShellChecked * Little Fixes
2020-05-26Fix head: illegal line count -- -1 (#443)alps2006
* Fix head: illegal line count -- -1 * Fix `osascript: display notification with title "📧 xxxx" subtitle "xxxx" : No such file or directory`
2020-05-25don't use extra icon fileLuke Smith
use kill instead of pkill for speed
2020-04-18Merge branch 'master' of github.com:LukeSmithxyz/mutt-wizardLuke Smith
2020-04-18fix: Support mbsync options passed to mailsync (#414)Jackson Law
2020-04-17new mail info for macosLuke Smith
2020-04-10blocks for STATUSBAR apparently works...Luke Smith
2020-02-09muttimage replaced by openfileLuke Smith
2020-02-09cron fixes and simplificationsLuke Smith
2019-11-28STATUSBAR var now in subshell to prevent errorLuke Smith
2019-11-27Add app name to notify-send invocation (#324)Ole Martin Ruud
This enables users to easily recognize notifications to be able to modify or style them through notification daemons.
2019-11-24lol fix otherLuke Smith
2019-11-24fix if STATUSBAR not setLuke Smith
2019-11-23STATUSBAR matching LARBS changesLuke Smith
2019-11-08Fix Malformed UTF-8 Character in Mailsync fixes #322 (#323)Wayne Reeves
* line 5 defined the variable DBUS_SESSION_BUS_ADDRESS before exporting it in the next line * change the pgrep line * Revert "Update domains.csv (#321)" This reverts commit a92c01e13121f42b9f9b8962ae2c07b0a0ce5d4d. * Revert "Revert "Update domains.csv (#321)"" This reverts commit af0c0826b9a699780256dc8492e74a157cab2a85. * Revert "line 5 defined the variable DBUS_SESSION_BUS_ADDRESS before exporting it in the next line" This reverts commit ca64a6ae56a31ead28cc638d8d8dac7e28f9df68. * Revert "Revert "line 5 defined the variable DBUS_SESSION_BUS_ADDRESS before exporting it in the next line"" This reverts commit 4304eb731c109289251e06ef86377d372cef07e4.
2019-07-24vars in script; msg if failLuke Smith
2019-06-01check mbsync, not mailsyncLuke Smith
2019-06-01only sync active mbsync accountsLuke Smith
2019-06-01prep fixLuke Smith
2019-06-01fix multiline subject header regressionluukvbaal
2019-06-01fix forwarded emails and posix whitespace regexluukvbaal
2019-06-01fix multiline subjects and single word sendersluukvbaal
2019-05-31perl decodingluukvbaal
2019-05-30Merge branch 'master' into patch-1luukvbaal
2019-05-30unnecessary sed commandluukvbaal
2019-05-30parallelize multiple accounts and mail previewluukvbaal
2019-05-20gnuisms removedLuke Smith
2019-05-13don't allow to be run concurrently with itselfluukvbaal
This allows mailsync to be called like this `bindsym $mod+e exec --no-startup-id mailsync; exec $term -e neomutt && pkill -RTMIN+12 i3blocks` such that it refreshes your mail when you open mutt without it needlessly syncing if a sync is already running.
2019-05-07mailsync: fix early exit on graphical(-only) loginKr1ss
Resolves https://github.com/LukeSmithxyz/mutt-wizard/issues/197.
2019-05-01Merge pull request #186 from dmsalomon/mailsync-paramLuke Smith
Mailsync: only pass -a to mbsync when no args
2019-05-01only sync if user logged inLuke Smith
2019-04-30Mailsync: only pass -a to mbsync when no argsDov Salomon
If -a is passed along with "$@", mailsync will sync all mailboxes even if only a single channel is passed in with "$@". This breaks the semantics of the `o` macro in mutt which should only sync the current mailbox that is currently being viewed in mutt.
2019-04-26to avoid user conflictsLuke Smith
2019-04-26bad ideaLuke Smith
2019-04-26libnotify note in mailsyncLuke Smith
2019-04-26one mailsync at a time pleaseLuke Smith
2019-04-22i'm dumb and blindLuke Smith
2019-04-22mailsynclast run fixLuke Smith
2019-04-20notification sound removedLuke Smith
2019-04-19mailsync checks inbox case insensLuke Smith
2019-04-16even comments are bloatLuke Smith
2019-04-11not assume dunstLuke Smith
2019-04-11begin switch to mbsyncLuke Smith
2019-04-02title and body dunst notificationLuke Smith