Skip to content

Changes Clevo (Sager) Laptop's Keyboard Backlit LED colour based on the current open app.

License

Notifications You must be signed in to change notification settings

iamKunal/ClevoFX-Keyboard-Linux

Repository files navigation

ClevoFX-Keyboard-Linux

Changes Clevo (Sager) Laptop's Keyboard Backlit LED colour based on the current open app.

Works best with i3wm (use the i3wm branch).

Requires

  1. Driver from https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi
  2. xmlstarlet
  3. i3ipc (from pip)

Instructions

  1. Do groupadd --system clevo_backlight (use sudo for permission problems)
  2. Do usermod --append --groups clevo_backlight $USER (again sudo for perms).
  3. Copy the contents of setclevopermissions.service to /etc/systemd/system/setclevopermissions.service
  4. Do systemctl enable setclevopermissions
  5. Add change_kb_color.py to i3 startup by adding exec /path/to/change_kb_color.py to ~/.config/i3/config
  6. Copy the folder clevo_fx to ~/.config/
  7. Modify ~/.config/clevo_fx/apps.xml to suit your needs (use xprop and click on window, the second WM_CLASS(STRING) property is to be used.

Check it live in action below:

ClevoFX Keyboard for Linux

About

Changes Clevo (Sager) Laptop's Keyboard Backlit LED colour based on the current open app.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages