Control your Framework Laptop 13 keyboard backlight brightness and effects.
Choose one of the following installation methods:
-
Automatic installation using wget:
wget -qO- https://raw.githubusercontent.com/radeeyate/kblight/main/install.sh | sudo bash
-
Manual installation:
-
Download kblight script:
curl -LO https://raw.githubusercontent.com/radeeyate/kblight/main/kblight
-
Make it executable:
chmod +x kblight
-
Move it to a directory in your PATH (optional):
sudo mv kblight /usr/local/bin/
-
kblight <command> <options>
Available commands:
- set : Sets the keyboard backlight brightness.
- Available brightness levels:
max
: Sets brightness to maximum (100%)off
: Turns off the backlightmid
: Sets brightness to 50%low
: Sets brightness to 20%dim
: Sets brightness to 5%<number>
: Sets brightness to a specific percentage value (0-100)
- Available brightness levels:
- effect : Applies a keyboard lighting effect.
- Available effects:
strobe
breathe
- Available effects:
- get: Gets the current keyboard backlight brightness as a percentage.
- help: Displays this help message.
- version: Displays the version information of kblight.
-
Turn off the keyboard backlight:
kblight set off
-
Set the brightness to 75%:
kblight set 75
-
Apply the "breathe" effect:
kblight effect breathe
- This script requires root privileges to run.
- It relies on the
ectool
utility to interact with the Framework Laptop 13 embedded controller. Ifectool
is not found, the binary will be downloaded automatically into/usr/local/bin
.
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
MIT