Files
dotfiles/homedir/.config/ssm/services/pulseaudio
T

13 lines
379 B
Plaintext
Raw Normal View History

2018-08-07 22:21:49 +03:00
#!/bin/env watchman
2019-10-03 12:03:31 +03:00
service_command = '/usr/bin/pulseaudio' \
2022-01-12 11:43:46 +03:00
--exit-idle-time=-1 \
2019-10-03 12:03:31 +03:00
-L module-jack-sink \
2020-12-09 00:34:57 +03:00
-L "module-jack-sink sink_name=jack_sink_01 connect=false" \
-L "module-jack-sink sink_name=jack_sink_02 connect=false" \
-L "module-jack-source channels=2" \
-L "module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1"
2018-08-07 22:21:49 +03:00
2019-10-03 12:03:31 +03:00
stop() { "$service_command" -k; }