1
0
Fork 0

cronprofile: fix dbus address location

This commit is contained in:
Luca Bilke 2024-07-09 16:55:19 +02:00
parent a2a316b922
commit c06070ddcc

5
.local/share/cronprofile Normal file → Executable file
View file

@ -14,6 +14,7 @@ export XDG_CACHE_HOME="$HOME/.cache"
export XDG_STATE_HOME="$HOME/.local/state"
export PATH="$HOME/.local/libexec/cron:$PATH"
x="$(cat "$XDG_STATE_HOME/dbus_session_bus_address")"
export DBUS_SESSION_BUS_ADDRESS="$x"
. "$XDG_STATE_HOME/dbus"
export DBUS_SESSION_BUS_ADDRESS
export DISPLAY=:0