summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorWayne Reeves <darthwayne@hotmail.com>2019-11-07 13:01:58 -0600
committerWayne Reeves <darthwayne@hotmail.com>2019-11-07 13:01:58 -0600
commiteeb49b7247a250fddc0ca4557c176dce7fb536e2 (patch)
tree42dc894338ffed94014a4d79fed02f42a1eae82d /bin
parent4304eb731c109289251e06ef86377d372cef07e4 (diff)
Revert "Revert "line 5 defined the variable DBUS_SESSION_BUS_ADDRESS before exporting it in the next line""
This reverts commit 4304eb731c109289251e06ef86377d372cef07e4.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mailsync3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/mailsync b/bin/mailsync
index d79507d..4677d3b 100755
--- a/bin/mailsync
+++ b/bin/mailsync
@@ -2,7 +2,8 @@
# Sync mail and give notification if there is new mail.
export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
+DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
+export DBUS_SESSION_BUS_ADDRESS
export DISPLAY=:0.0
[ -d "$HOME/.local/share/password-store" ] && export PASSWORD_STORE_DIR="$HOME/.local/share/password-store"