mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-11-27 18:13:19 +00:00
feat(systemd): add config
This commit is contained in:
14
home/user/es-9.service
Normal file
14
home/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
|
||||
11
home/user/i3wm-close-window.service
Normal file
11
home/user/i3wm-close-window.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=i3wm close window service
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=true
|
||||
ExecStart=python %h/.config/scripts/desktop/i3wm-close-window.py
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
8
home/user/polybar.service
Normal file
8
home/user/polybar.service
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Polybar
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
ExecStart=%h/bin/desktop/polybar-start.sh
|
||||
ExecStop=killall -q polybar
|
||||
13
home/user/snapcast.service
Normal file
13
home/user/snapcast.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Snapcast
|
||||
After=pipewire.service
|
||||
Requires=pipewire.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
ExecStart=%h/git/audio/snapcast/bin/snapclient
|
||||
ExecStop=killall -q snapclient
|
||||
24
home/user/streamdeck.service
Normal file
24
home/user/streamdeck.service
Normal file
@@ -0,0 +1,24 @@
|
||||
[Unit]
|
||||
Description=Streamdeck
|
||||
After=multi-user.target
|
||||
#Conflicts=getty@tty1.service
|
||||
#After=graphical.target
|
||||
#After = network.target
|
||||
|
||||
[Service]
|
||||
#Type=simple
|
||||
Type=idle
|
||||
Restart=on-failure
|
||||
#WorkingDirectory=/home/aqua
|
||||
#User=aqua
|
||||
#RemainAfterExit=true
|
||||
ExecStart=/usr/bin/python /home/aqua/git/streamdeck/streamdeck.py
|
||||
ExecStop=pkill -9 -f streamdeck.py
|
||||
#StandardInput=tty-force
|
||||
|
||||
#StandardOutput=append:/home/aqua/streamdeck.log
|
||||
#StandardError=append:/home/aqua/streamdeck.log
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy = multi-user.target
|
||||
Reference in New Issue
Block a user