move dbus activation in .zprofile
This commit is contained in:
parent
c833435528
commit
7b62a1bb82
1 changed files with 23 additions and 24 deletions
11
dot_zprofile
11
dot_zprofile
|
@ -17,11 +17,6 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
|||
# Added by Toolbox App
|
||||
export PATH="$PATH:/home/${USER}/.local/share/JetBrains/Toolbox/scripts"
|
||||
|
||||
# Falls autostartdesktop auf i3 gesetzt wird, wird i3 statt sway gestartet
|
||||
if [ "${autostartdesktop}" = "i3" ]; then
|
||||
echo "exec i3" > ~/.xinitrc
|
||||
startx
|
||||
else
|
||||
# First make sure dbus is started
|
||||
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
||||
export DBUS_SESSION_BUS_ADDRESS="$(dbus-daemon --session --fork --print-address)"
|
||||
|
@ -43,9 +38,13 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
|||
eval $(keychain --noask --eval --quiet)
|
||||
|
||||
# Various exports
|
||||
|
||||
export SHELL="$(command -v zsh)"
|
||||
|
||||
# Falls autostartdesktop auf i3 gesetzt wird, wird i3 statt sway gestartet
|
||||
if [ "${autostartdesktop}" = "i3" ]; then
|
||||
echo "exec i3" > ~/.xinitrc
|
||||
startx
|
||||
else
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||
|
|
Loading…
Reference in a new issue