mirror of
https://github.com/MatMoul/g810-led.git
synced 2025-04-04 23:31:48 +00:00
Add systemd on resume service
This commit is contained in:
parent
6a13362f3a
commit
67a36e2920
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
|
Loading…
Reference in New Issue
Block a user