summaryrefslogtreecommitdiff
path: root/bin/mailsync
AgeCommit message (Collapse)Author
2022-11-15parse pop config only when file existsKarel Křemel
2022-10-07leftover from bugtestingLuke Smith
2022-10-07better muting, suppress no mpop config, tabbingLuke Smith
2022-10-07Merge branch 'nonnotifyoption' of ↵Luke Smith
https://github.com/insanerwayner/mutt-wizard into insanerwayner-nonnotifyoption
2022-09-29Add Support for POP3 NotificationParin Jasoliya
2022-08-18forgot escape on | to get variable; case condition s/no/mute/Wayne Reeves
2022-08-17check for MAILSYNC_MUTEWayne Reeves
2022-07-01Merge branch 'master' of github.com:LukeSmithxyz/mutt-wizardLuke Smith
2022-07-01fix #785 since cron now silentLuke Smith
2022-07-01Merge pull request #852 from f380cedric/fix/case-insensitive-fsLuke Smith
Fix: find & case-insensitive filesystem
2022-07-01remove bashismLuke Smith
2022-07-01Silence mailsync, so cron doesn't spam e-mails on every updatejw
2022-06-10Fix: find & case-insensitive filesystemf380cedric
On case-insensitive filesystem, `inbox` and `Inbox` are the same path. Running `find Inbox inbox [expr]` will print twice the same information. Use shell glob instead: `find` will descend into path `inbox`, ignoring letter cases, only once. Fix #828.
2022-05-31fix notifications when the Xorg process is just XKr1ss
To close #845 : I added the `-x` flag to prevent the regex from matching on _every_ pro- cess name containing an `X`. Because I'm not entirely sure about portability (does every `pgrep` va- riant support that flag), I didn't push this directly. So what do you think @LukeSmithxyz ?
2022-04-29mailsync manual per debian requirementsLuke Smith
2021-11-07Checks $HOME/.confg/zsh/.zshenv for Env variablesMatthew McCulley
2021-10-05minor tweaksLuke Smith
2021-09-23hardcode mailbox names. don't remake shortcuts.Luke Smith
2021-09-23decrease gnuismsLuke Smith
2021-09-23don't show message info anymoreLuke Smith
2021-09-16fix #745, avoid incompatibilityLuke Smith
2021-09-09Check both new and cur dirs for notificationHorea Christian
Also better formattin
2021-06-15remove `pidof -s` flagKr1ss
Ref: https://github.com/LukeSmithxyz/mutt-wizard/commit/b9a95a055a5737c7765c2d21451d504c9818ba80#commitcomment-52203708
2021-06-15patch mailsync on macOS; fixes #725Kr1ss
The macOS version of `pidof` doesn't implement the `-s` flag.
2021-05-30don't readlink for soystemd on macLuke Smith
2021-05-04don't state mail number if smallLuke Smith
2021-04-06give individual notifications only if < 5Luke Smith
in accordance with #694
2021-03-22no msgLuke Smith
2021-03-16zshenv checked for variables. fix #677Luke Smith
2021-02-25mailsync/notify-send: provide a default `$DISPLAY`Kr1ss
A user reports notifications not working on their setup because there is no display id contained in the `ps`/`pgrep` output concerning the Xorg process. This commit checks if there's a display server running at all, and if so it sends notifications even if there's no display id. Resolves https://github.com/LukeSmithxyz/mutt-wizard/issues/661
2021-02-02fix notifications on XwaylandClément DOUIN
2021-01-24for zdotdir changes; close #639Luke Smith
2021-01-24Merge branch 'master' of github.com:LukeSmithxyz/mutt-wizardLuke Smith
2021-01-23mailsync: Check for ZDOTDIR when looking for environmental variablesFrancesco Minnocci
inside .zprofile and .zshrc. ~/.profile is not necessarily present when using zsh for login and setting $ZDOTDIR in ~/.zshenv
2021-01-18mailsync: Check whether XDG_CONFIG_HOME is defined before defaulting to ↵dgrisham
$HOME/.config for mutt dir
2021-01-14fix notification duplicationLuke Smith
2021-01-07detect all Xorgs #fixes #607Luke Smith
2021-01-07curl redirects and times outLuke Smith
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