Give ownership of backlight brightness to backlight group, allow writing from group
This commit is contained in:
parent
9c75fab348
commit
672198be71
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Give ownership of backlight level to 'backlight' group
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStartPre=sudo chown root:backlight /sys/class/backlight/intel_backlight/brightness
|
||||||
|
ExecStart=sudo chmod 664 /sys/class/backlight/intel_backlight/brightness
|
||||||
|
#ExecStart=/var/home/jpm/scripts/sway/blc.pl -d
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
Loading…
Reference in New Issue