diff --git a/.xinitrc b/.xinitrc index 8fee79e..c5a0613 100755 --- a/.xinitrc +++ b/.xinitrc @@ -29,8 +29,10 @@ feh --bg-scale "$HOME/Obrázky/wallpapers/glados.jpg" & dwmblocks & -# ~~Keep this last: it replaces the script with dwm~~ -exec dwm - -# Restart audio services before starting the status bar -systemctl --user restart wireplumber pipewire pipewire-pulse;pkill -RTMIN+2 dwmblocks +exec dbus-run-session -- sh -c ' + GPG_TTY=$(tty) + pipewire & + sleep 1 + pkill -RTMIN+2 -x dwmblocks + exec dwm +'