mirror of
https://github.com/MatMoul/g810-led.git
synced 2025-12-27 17:03:02 +00:00
Add systemd on resume service
This commit is contained in:
12
systemd/g810-led-resume.service
Normal file
12
systemd/g810-led-resume.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Set G810 profile on resume
|
||||
Before=sleep.target
|
||||
StopWhenUnneeded=yes
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStop=/usr/bin/g810-led -p /etc/g810-led/profile
|
||||
|
||||
[Install]
|
||||
WantedBy=sleep.target
|
||||
Reference in New Issue
Block a user