diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc index 80dfa24a2..2ce46d6f7 100755 --- a/.config/X11/xinitrc +++ b/.config/X11/xinitrc @@ -11,7 +11,7 @@ echo "Sourcing $X11_CONFIG/xprofile" . "$X11_CONFIG/xprofile" -echo $DBUS_SESSION_BUS_ADDRESS > $XDG_STATE_HOME/dbus_session_bus_address +echo "DBUS_SESSION_BUS_ADDRESS=\"$DBUS_SESSION_BUS_ADDRESS\"" > $XDG_STATE_HOME/dbus echo "Starting DWM" diff --git a/.local/share/service/dunst/run b/.local/share/service/dunst/run index 80381ddfc..424dd90fb 100755 --- a/.local/share/service/dunst/run +++ b/.local/share/service/dunst/run @@ -1,4 +1,6 @@ #!/bin/sh exec 2>&1 +. "$XDG_STATE_HOME/dbus" + exec dunst diff --git a/.local/share/service/dwmblocks/log/run b/.local/share/service/dwmblocks/log/run new file mode 100755 index 000000000..c7df7fdcf --- /dev/null +++ b/.local/share/service/dwmblocks/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec vlogger -t dwmblocks diff --git a/.local/share/service/dwmblocks/run b/.local/share/service/dwmblocks/run new file mode 100755 index 000000000..7f481a57b --- /dev/null +++ b/.local/share/service/dwmblocks/run @@ -0,0 +1,6 @@ +#!/bin/sh +exec 2>&1 + +PATH="$HOME/.local/libexec/statusbar:$PATH" + +exec dwmblocks diff --git a/.local/share/service/picom/run b/.local/share/service/picom/run index 25725a0b1..f6a5318e5 100755 --- a/.local/share/service/picom/run +++ b/.local/share/service/picom/run @@ -1,4 +1,6 @@ #!/bin/sh exec 2>&1 +. "$XDG_STATE_HOME/dbus" + exec picom diff --git a/.local/share/service/pipewire-pulse/run b/.local/share/service/pipewire-pulse/run index f2165778a..a3441923d 100755 --- a/.local/share/service/pipewire-pulse/run +++ b/.local/share/service/pipewire-pulse/run @@ -1,4 +1,6 @@ #!/bin/sh exec 2>&1 +. "$XDG_STATE_HOME/dbus" + exec pipewire -c pipewire-pulse.conf diff --git a/.local/share/service/pipewire/run b/.local/share/service/pipewire/run index 822cd1502..1d45fbceb 100755 --- a/.local/share/service/pipewire/run +++ b/.local/share/service/pipewire/run @@ -1,4 +1,6 @@ #!/bin/sh exec 2>&1 +. "$XDG_STATE_HOME/dbus" + exec pipewire diff --git a/.local/share/service/wireplumber/run b/.local/share/service/wireplumber/run index f83eb99a3..3136c445a 100755 --- a/.local/share/service/wireplumber/run +++ b/.local/share/service/wireplumber/run @@ -1,4 +1,6 @@ #!/bin/sh exec 2>&1 +. "$XDG_STATE_HOME/dbus" + exec wireplumber diff --git a/.local/share/service/xsecurelock/run b/.local/share/service/xsecurelock/run index 5173e06f6..876b8b8bd 100755 --- a/.local/share/service/xsecurelock/run +++ b/.local/share/service/xsecurelock/run @@ -1,6 +1,8 @@ #!/bin/sh exec 2>&1 +. "$XDG_STATE_HOME/dbus" + [ -r conf ] && . ./conf exec xss-lock -n /usr/libexec/xsecurelock/dimmer -l -- sh -c "xsecurelock -- playerctl pause || kill -9 -1"