From 03b4ebb46e844124c3ea3ea28d6e11877a3f7466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 10 Dec 2020 19:53:56 +0300 Subject: added missing env vars for cron scripts --- dotfiles/.local/bin/setsessionenv | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dotfiles/.local') diff --git a/dotfiles/.local/bin/setsessionenv b/dotfiles/.local/bin/setsessionenv index 3d7b161..23e2a1a 100755 --- a/dotfiles/.local/bin/setsessionenv +++ b/dotfiles/.local/bin/setsessionenv @@ -11,6 +11,8 @@ export XDG_SESSION_ID=%s export XDG_SESSION_CLASS=%s export XDG_SEAT=%s export XDG_RUNTIME_DIR=%s +export DBUS_SESSION_BUS_ADDRESS=%s +export DBUS_SESSION_BUS_PID=%s export I3SOCK=%s export SWAYSOCK=%s"\ "$PASSWORD_STORE_DIR" \ @@ -21,5 +23,7 @@ export SWAYSOCK=%s"\ "$XDG_SESSION_CLASS" \ "$XDG_SEAT" \ "$XDG_RUNTIME_DIR" \ + "$DBUS_SESSION_BUS_ADDRESS" \ + "$DBUS_SESSION_BUS_PID" \ "$I3SOCK" \ "$SWAYSOCK" > ~/.cache/sessionenv -- cgit v1.2.3