Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 668 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 668 Bytes

kbd_backlight

Controls the keyboard backlight on Linux

Options:

-e

Enable, set to 100%

-d

Disable, set to 0%

-l

Set the level to - must be between 0 and 100

This is hardcoded to use /sys/class/leds/kbd_backlight/brightness. If your system does not use this file for backlight control, then this program isn't for you.

NOTE:

This simple program was intended as a simple example to someone on StackExchange on how to control the keyboard backlight. While it does what it says, the main goal is simplicity.

In other words, if you're here because you're considering hiring me, don't assume this is the extent of my coding abilities :)