aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-12-10 19:53:56 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-12-10 19:53:56 +0300
commit03b4ebb46e844124c3ea3ea28d6e11877a3f7466 (patch)
tree41cdcf9c1ea95f327be1715191490bc5041a6a06
parente7581829091aa4a741a681c3d88e92e4d8982fc8 (diff)
downloadswayrice-03b4ebb46e844124c3ea3ea28d6e11877a3f7466.tar.gz
swayrice-03b4ebb46e844124c3ea3ea28d6e11877a3f7466.zip
added missing env vars for cron scripts
-rwxr-xr-xdotfiles/.local/bin/setsessionenv4
1 files changed, 4 insertions, 0 deletions
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