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 роки тому