cronprofile: fix dbus address location
This commit is contained in:
parent
72f97e8d3c
commit
71581ed9ea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue