71c3d3cc90
A hack shamelessly stolen from Manjaro. Plasma Mobile runs in the user session and needs direct access to the sys entries of the flashlight to be able to toggle it in the GUI [skip ci] Broken, thinks there is an unreferenced file while there is not
1 line
165 B
Text
1 line
165 B
Text
SUBSYSTEM=="leds", DEVPATH=="*/*:flash", RUN+="/bin/chmod g+w /sys%p/brightness /sys%p/flash_strobe", RUN+="/bin/chown :video /sys%p/brightness /sys%p/flash_strobe"
|