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