mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-06-29 16:52:02 +00:00
Automatic ES-9 setup
This commit is contained in:
14
systemd/user/es-9.service
Normal file
14
systemd/user/es-9.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=ES-9 Audio Interface
|
||||
BindsTo=dev-snd-by\x2did-usb\x2dExpert_Sleepers_Ltd_ES\x2d9\x2d01.device
|
||||
After=dev-snd-by\x2did-usb\x2dExpert_Sleepers_Ltd_ES\x2d9\x2d01.device
|
||||
Requisite=dev-snd-by\x2did-usb\x2dExpert_Sleepers_Ltd_ES\x2d9\x2d01.device
|
||||
|
||||
[Install]
|
||||
WantedBy=dev-snd-by\x2did-usb\x2dExpert_Sleepers_Ltd_ES\x2d9\x2d01.device
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
ExecStart=%h/.config/scripts/audio/es9start.sh
|
||||
ExecStop=%h/.config/scripts/audio/es9stop.sh
|
Reference in New Issue
Block a user