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
* 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.
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>
* 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 a92c01e131.
* Revert "Revert "Update domains.csv (#321)""
This reverts commit af0c0826b9.
* Revert "line 5 defined the variable DBUS_SESSION_BUS_ADDRESS before exporting it in the next line"
This reverts commit ca64a6ae56.
* Revert "Revert "line 5 defined the variable DBUS_SESSION_BUS_ADDRESS before exporting it in the next line""
This reverts commit 4304eb731c.
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.
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.