Initial commit.

This commit is contained in:
2018-10-02 20:14:20 +02:00
commit ab49ee4cee
8 changed files with 269 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
DEVICE=/sys/devices/platform/thinkpad_acpi/leds/tpacpi\:\:kbd_backlight/brightness
CUR_VAL=$(cat $DEVICE)
case $CUR_VAL in
0)
echo "1" > $DEVICE
;;
1)
echo "2" > $DEVICE
;;
2)
echo "0" > $DEVICE
;;
esac