From eeb49b7247a250fddc0ca4557c176dce7fb536e2 Mon Sep 17 00:00:00 2001 From: Wayne Reeves Date: Thu, 7 Nov 2019 13:01:58 -0600 Subject: [PATCH] Revert "Revert "line 5 defined the variable DBUS_SESSION_BUS_ADDRESS before exporting it in the next line"" This reverts commit 4304eb731c109289251e06ef86377d372cef07e4. --- bin/mailsync | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"