systemd: revert back to PulseAudio

Even on a very powerful system, I have some glitches. That's quite
odd...
This commit is contained in:
Vincent Bernat 2021-12-27 11:54:36 +01:00
parent 2dd1c9e1c7
commit 23e16f4bbd
4 changed files with 4 additions and 9 deletions

View file

@ -45,7 +45,6 @@ application_icons = {
"darktable": icon(2, ""),
"discord": icon(3, ""),
"draw.io": icon(2, ""),
"easyeffects": icon(2, ""),
"emacs": icon(2, ""),
"file-roller": icon(2, ""),
"firefox": icon(3, ""),

View file

@ -12,8 +12,7 @@ if [ -z "${ROFI_OUTSIDE}" ]; then
-kb-select-4 Super+v \
-kb-select-5 Super+b \
-kb-select-6 Super+m \
-kb-select-7 Super+e \
-kb-select-8 Super+s
-kb-select-7 Super+s
fi
case $ROFI_RETV in
@ -35,7 +34,6 @@ media-playback-pause Pause
media-playback-stop Stop
go-next Next track
multimedia-volume-control Open mixer panel
easyeffects Open effects panel
com.spotify.Client Open ${Mediaplayer}
EOF
@ -58,8 +56,7 @@ EOF
4) playerctl -p $mediaplayer stop ;;
5) playerctl -p $mediaplayer next ;;
6) i3-msg '[class="Pavucontrol"] focus' || i3-msg exec exec pavucontrol ;;
7) i3-msg '[class="easyeffects"] focus' || i3-msg exec exec easyeffects ;;
8) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec ${mediaplayer} ;;
7) i3-msg '[class="'${Mediaplayer}'"] focus' || i3-msg exec exec ${mediaplayer} ;;
esac >&2
;;
esac

View file

@ -1,6 +1,6 @@
[Unit]
Description=Timer for cleaning spotify extra PA streams
After=pipewire-pulse.socket
After=pulseaudio.socket
[Timer]
OnUnitActiveSec=1h

View file

@ -3,11 +3,10 @@ Description=X session
BindsTo=graphical-session.target
Wants=autorandr.service
Wants=dunst.socket
Wants=easyeffects.service
Wants=inputplug.service
Wants=picom.service
Wants=pipewire-pulse.socket
Wants=policykit-agent.service
Wants=pulseaudio.socket
Wants=redshift.service
Wants=spotify-clean.timer
Wants=ssh-agent.service