Actualiser rgb.sh
This commit is contained in:
parent
a8f740bf59
commit
47fc508d54
1 changed files with 1 additions and 1 deletions
2
rgb.sh
2
rgb.sh
|
@ -22,7 +22,7 @@ def aTob(a, b):
|
|||
tmp[0] += incr[0]
|
||||
tmp[1] += incr[1]
|
||||
tmp[2] += incr[2]
|
||||
subprocess.run(f"echo \"{int(tmp[0])} {int(tmp[1])} {int(tmp[2])}\" > /sys/class/leds/rgb:kbd_backlight/multi_intensity", shell=True)
|
||||
subprocess.run(f"echo \"{int(tmp[0])} {int(tmp[1])} {int(tmp[2])}\" > /sys/class/leds/<vendor>:kbd_backlight/multi_intensity", shell=True)
|
||||
time.sleep(0.1)
|
||||
|
||||
while True:
|
||||
|
|
Loading…
Add table
Reference in a new issue