dont export dbus_session_bus_address, use xsession to launch dbus instead

This commit is contained in:
fanyx 2022-07-14 10:21:32 +02:00
parent f63cdede52
commit 242ca84a24
1 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,9 @@
: ${XDG_RUNTIME_DIR:=/run/user/$(id -u)} : ${XDG_RUNTIME_DIR:=/run/user/$(id -u)}
export XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR export XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR
# : ${DBUS_SESSION_BUS_ADDRESS:=$XDG_RUNTIME_DIR/bus}
# export DBUS_SESSION_BUS_ADDRESS
: ${BROWSER:=firefox} : ${BROWSER:=firefox}
: ${EDITOR:=vim} : ${EDITOR:=vim}
: ${PAGER:=less} : ${PAGER:=less}
@ -11,10 +14,10 @@ export XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR
export BROWSER EDITOR PAGER VISUAL export BROWSER EDITOR PAGER VISUAL
for x in \ for x in \
"/usr/bin" \
"/usr/local/bin" \
"$HOME/bin" \ "$HOME/bin" \
"$HOME/.local/bin" \ "$HOME/.local/bin" \
"/usr/local/bin" \
"/usr/bin" \
; do ; do
[ -d "$x" ] || continue [ -d "$x" ] || continue
case ":${PATH}:" in case ":${PATH}:" in