Add: enable sound cards on start

This commit is contained in:
Aroy-Art 2024-09-20 21:35:45 +02:00
parent a822d2d468
commit 888a0a3bd2
Signed by: Aroy
GPG key ID: DB9689E9391DD156
3 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[Unit]
Description=Unmute All Sound Card Controls For Use With The Live Arch Environment
# This needs to run after the audio device becomes available.
Wants=systemd-udev-settle.service
After=systemd-udev-settle.service sound.target
ConditionKernelCommandLine=accessibility=on
[Service]
Type=oneshot
ExecStart=/usr/local/bin/livecd-sound -u
[Install]
WantedBy=sound.target

View file

@ -0,0 +1 @@
../livecd-alsa-unmuter.service

View file

@ -0,0 +1,3 @@
Defaults node
defaults.ctl.card %card%;
defaults.pcm.card %card%;