diff options
Diffstat (limited to '.config/systemd')
-rw-r--r-- | .config/systemd/user/pulseaudio-null-sink@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/systemd/user/pulseaudio-null-sink@.service b/.config/systemd/user/pulseaudio-null-sink@.service new file mode 100644 index 0000000..0064c90 --- /dev/null +++ b/.config/systemd/user/pulseaudio-null-sink@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Load %i Pulseaudio null sink +After=pipewire-pulse.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/pactl load-module module-null-sink object.linger=1 media.class=Audio/Sink sink_name=%i channel_map=FL,FR +ExecStop=/usr/bin/pactl unload-module module-null-sink +RemainAfterExit=yes + +[Install] +WantedBy=default.target |