Jonas Dujava
8e35e474c5
Fix usages of mail/mails
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
пре 1 година
Jonas Dujava
43eceb5536
Fix notifications for mails with multiline subject
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
пре 1 година
appeasementPolitik
532332b8df
Fix notify-send not coming through
пре 2 година
Luke Smith
d3300a478d
simplification of decoding, show help on noopt
пре 3 година
Luke Smith
48ac83c07f
bring back ugly but functional cmds to get subject
fix #910
пре 3 година
shane.xb.qian
7de48da554
fix: displays fallback of default looks should be ':0'
// solution: changed from '0:' to ':0'
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
пре 3 година
Luke Smith
f0ae1de9e1
mail notifications back, close #907 , fix #095
use MAILSYNC_MUTE variable, and non-silly
commands to derive $from and $subject
пре 3 година
Luke Smith
6e44eb5056
stupid fix and cli feedback
пре 3 година
Luke Smith
2a60bfb6d9
simplify mailsync, remove silly option passing
пре 3 година
AlexBocken
ab82cf359f
read-in env vars properly if dependent on XDG Standard
пре 3 година
Junicchi
bfa70c5242
read xorg displays from unix-domain socket if pgrep returns null
пре 3 година
shane.xb.qian
f6b5806af9
fix: make o and O macro work and really sync multiple/individual accounts
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
пре 3 година
Karel Křemel
05b8300422
parse pop config only when file exists
пре 3 година
Luke Smith
607b44e221
leftover from bugtesting
пре 3 година
Luke Smith
c3f4ab8db0
better muting, suppress no mpop config, tabbing
пре 3 година
Parin Jasoliya
f723938a73
Add Support for POP3 Notification
пре 3 година
Wayne Reeves
d2a5d06d43
forgot escape on | to get variable; case condition s/no/mute/
пре 3 година
Wayne Reeves
b7f2bc0ff1
check for MAILSYNC_MUTE
пре 3 година
Luke Smith
30c1c0d2ae
fix #785 since cron now silent
пре 3 година
Luke Smith
caf2681891
remove bashism
пре 3 година
jw
367c10ec3f
Silence mailsync, so cron doesn't spam e-mails on every update
пре 3 година
f380cedric
3a2f4a55fa
Fix: find & case-insensitive filesystem
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 .
пре 3 година
Kr1ss
f2014408b9
fix notifications when the Xorg process is just X
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 ?
пре 3 година
Luke Smith
5ae4758790
mailsync manual per debian requirements
пре 4 година
Matthew McCulley
8e81135f8b
Checks $HOME/.confg/zsh/.zshenv for Env variables
пре 4 година
Luke Smith
418565eb94
minor tweaks
пре 4 година
Luke Smith
bd0075898a
hardcode mailbox names. don't remake shortcuts.
пре 4 година
Luke Smith
c88994e730
decrease gnuisms
пре 4 година
Luke Smith
8d177222d6
don't show message info anymore
пре 4 година
Luke Smith
f845e11fe2
fix #745 , avoid incompatibility
пре 4 година
Horea Christian
5971fadec8
Check both new and cur dirs for notification
Also better formattin
пре 4 година
Kr1ss
b0452a39d5
remove `pidof -s` flag
Ref:
b9a95a055a (commitcomment-52203708)
пре 4 година
Kr1ss
b9a95a055a
patch mailsync on macOS; fixes #725
The macOS version of `pidof` doesn't implement the `-s` flag.
пре 4 година
Luke Smith
36788d9c43
don't readlink for soystemd on mac
пре 4 година
Luke Smith
243fca2b9c
don't state mail number if small
пре 5 година
Luke Smith
80f10e6e7d
give individual notifications only if < 5
in accordance with #694
пре 5 година
Luke Smith
de58c98693
no msg
пре 5 година
Luke Smith
b9b3f7f685
zshenv checked for variables. fix #677
пре 5 година
Kr1ss
747af1cccb
mailsync/notify-send: provide a default `$DISPLAY`
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
пре 5 година
Clément DOUIN
0ff14fee55
fix notifications on Xwayland
пре 5 година
Luke Smith
978cd4eb98
for zdotdir changes; close #639
пре 5 година
Aaron Friesen
c3aa6733f2
Fix duplicate mailsync notifications
пре 5 година
Francesco Minnocci
718e586f4a
mailsync: Check for ZDOTDIR when looking for environmental variables
inside .zprofile and .zshrc.
~/.profile is not necessarily present when using zsh for login and
setting $ZDOTDIR in ~/.zshenv
пре 5 година
dgrisham
b11dcf53dc
mailsync: Check whether XDG_CONFIG_HOME is defined before defaulting to $HOME/.config for mutt dir
пре 5 година
Luke Smith
b56686aae5
fix notification duplication
пре 5 година
Luke Smith
913c877448
detect all Xorgs #fixes #607
пре 5 година
Luke Smith
564c529f8e
curl redirects and times out
пре 5 година
Luke Smith
aa4fb999eb
systemd fix, check for variables with whitespace
пре 5 година
Luke Smith
f589cd4dfd
workable mailsync readded to enable autosync
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
пре 5 година
Luke Smith
16188017b2
like i said...
пре 5 година