Skip to content

Instantly share code, notes, and snippets.

@SidonTheTroll
Created June 9, 2024 16:50
Show Gist options
  • Save SidonTheTroll/60ad05b0171da0dd9aa766a15673b1d6 to your computer and use it in GitHub Desktop.
Save SidonTheTroll/60ad05b0171da0dd9aa766a15673b1d6 to your computer and use it in GitHub Desktop.
[Unit]
Description=Restore ALSA mixer settings
[Service]
Type=oneshot
ExecStart=/usr/sbin/alsactl restore
ExecStop=/usr/sbin/alsactl store
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment