💡 Led¶
Human friendly interface to linux led handling.
Without further ado:
python
from linuxpy.led import find
caps_lock = find(function="capslock")
print(caps_lock.max_brightness)
1
print(caps_lock.brightness)
0
caps_lock.brightness = 1
print(caps_lock.brightness)
1