pulseeffects: fix autostart

PR #1442
This commit is contained in:
Philipp Mildenberger 2020-08-13 21:34:25 +02:00 committed by Robert Helgesson
parent baea46c5ac
commit 3886f8db33
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -36,10 +36,13 @@ in {
systemd.user.services.pulseeffects = {
Unit = {
Description = "Pulseeffects daemon";
Requires = [ "pulseaudio.service" "dbus.service" ];
After = [ "graphical-session.target" ];
Requires = [ "dbus.service" ];
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" "pulseaudio.service" ];
};
Install = { WantedBy = [ "graphical-session.target" ]; };
Service = {
ExecStart =
"${pkgs.pulseeffects}/bin/pulseeffects --gapplication-service ${presetOpts}";