Running Qtile, what is the best way to restart the pipewire service on resume from suspend?
Will have to check if this also affects plasma tonight (rarely have the sound on, so never notice!).
Running Qtile, what is the best way to restart the pipewire service on resume from suspend?
Will have to check if this also affects plasma tonight (rarely have the sound on, so never notice!).
Not sure if it is the best way but a restart service might work. Something like:
pipewire_restart.service
[Unit]
Description=Restart Pipewire after resume
After=suspend.target
[Service]
Type=simple
ExecStart=/usr/bin/systemctl --user restart pipewire.service
[Install]
WantedBy=suspend.target
in /etc/systemd/system
Will give it a go when I get home.
Out of curiosity, did you find at last a solution to this issue?
You can also just kill pipewire as user. It will restart automatically.
Havenβt had chance, a lot going on at the minute