Skip to content

A lightweight Tauri app to control Asus laptop RGB keyboard backlight on Linux via sysfs. (I definetely didn't meant RGBDaemon)

License

Notifications You must be signed in to change notification settings

seyallius/rgbdemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

rgbdemon (definitely not daemon πŸ‘Ώ)

A minimal, fast, and daemon-friendly Asus RGB keyboard controller for Linux, built with **Tauri + Rust + Vanilla JS **.

No bloated Electron apps. No Python runtime. Just sysfs writes and vibes.


✨ Features

  • 🎨 RGB color control
  • πŸ’‘ Brightness levels (Off β†’ High)
  • 🌊 Modes: Static, Breathing, Color Cycle, Strobing*
  • 🐒 Speed control
  • ⚑ Instant apply (write-only, no polling)

Mode availability depends on your laptop firmware.


πŸ–₯ Supported Devices

Tested on Asus TUF laptops using:


/sys/class/leds/asus::kbd_backlight/

If your laptop exposes:

  • kbd_rgb_mode
  • kbd_rgb_state
  • brightness

...it should work.


⚠️ Important Notes

  • Linux only
  • Requires write access to sysfs
  • Current values cannot be read, only set
  • Use udev rules or run with proper permissions

🧠 How It Works

rgbdemon writes directly to:

/sys/class/leds/asus::kbd_backlight/kbd_rgb_mode
/sys/class/leds/asus::kbd_backlight/brightness

Example:

echo "1 2 255 0 255 1" > kbd_rgb_mode

πŸ›  Tech Stack

  • πŸ¦€ Rust (backend)
  • πŸͺŸ Tauri
  • 🧼 Vanilla JS (no frameworks)
  • 🎨 HTML / CSS

🚧 Status

  • Frontend: βœ… (of course with help of AI - I'm no frontend dev)
  • Rust backend: 🚧 (placeholders ready)

πŸ“œ License

MIT

About

A lightweight Tauri app to control Asus laptop RGB keyboard backlight on Linux via sysfs. (I definetely didn't meant RGBDaemon)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published