cronprofile: fix dbus address location
This commit is contained in:
parent
a2a316b922
commit
c06070ddcc
1 changed files with 3 additions and 2 deletions
5
.local/share/cronprofile
Normal file → Executable file
5
.local/share/cronprofile
Normal file → Executable 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
|
||||
|
|
Loading…
Add table
Reference in a new issue