change the dbus launch command, and use runsvdir for user-level services

This commit is contained in:
frosty 2024-05-19 05:39:33 -04:00
parent b06132f144
commit cf5b87e14f
2 changed files with 3 additions and 5 deletions

View file

@ -6,4 +6,4 @@ elif [ -f "$HOME/.xprofile" ]; then
. "$HOME/.xprofile"
fi
exec dbus-launch dwm
exec dbus-run-session dwm

View file

@ -10,7 +10,5 @@ xrandr --dpi 96
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Profile Enabled" 0 1 0
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Speed" 0
autostart="pipewire wireplumber pipewire-pulse udiskie dunst picom sxhkd dwmblocks"
for program in $autostart; do
"$program" &
done >/dev/null 2>&1
dwmblocks &
runsvdir "$HOME/.runit/runsvdir" &