summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorWayne Reeves <darthwayne@hotmail.com>2019-11-07 11:08:27 -0600
committerWayne Reeves <darthwayne@hotmail.com>2019-11-07 11:08:27 -0600
commitca64a6ae56a31ead28cc638d8d8dac7e28f9df68 (patch)
tree42dc894338ffed94014a4d79fed02f42a1eae82d /bin
parenta92c01e13121f42b9f9b8962ae2c07b0a0ce5d4d (diff)
line 5 defined the variable DBUS_SESSION_BUS_ADDRESS before exporting it in the next line
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"