Skip to content

v-bilous/kfrgb-auto

Repository files navigation

kfrgb-auto

Personal RGB RAM automation and control for Arch Linux.

Description

kfrgb-auto is a package that automatically configures RGB RAM settings after boot. It provides a systemd system service that applies your preferred RGB settings to compatible RAM modules.

Features

  • Automatically applies RGB settings during system boot
  • Configures RAM RGB lighting with customizable settings
  • Handles necessary kernel module loading and configuration
  • Provides systemd integration for reliable operation
  • Runs with system privileges for direct hardware access

Installation

From AUR

yay -S kfrgb-auto

or

git clone https://aur.archlinux.org/kfrgb-auto.git
cd kfrgb-auto
makepkg -si

From Source

git clone https://github.com/yourusername/kfrgb-auto.git
cd kfrgb-auto
makepkg -si

Configuration

The default configuration applies a static orange color to RAM slots 2 and 4. To customize the settings, edit the /usr/local/bin/kfrgb_setup.sh file:

sudo nano /usr/local/bin/kfrgb_setup.sh

Adjust the following variables according to your preferences:

  • BRIGHTNESS: RGB brightness level (0-100)
  • RAM_SLOTS: Comma-separated list of RAM slots to configure
  • SMBUS: SMBus number for your system
  • RGB_COLOR: RGB color in format "R,G,B" (0-255 for each component)
  • RGB_MODE: Lighting mode (static, breathing, etc.)

Usage

The service is automatically enabled and started during system boot. No manual action is required.

To manually control the service:

# Enable the service
sudo systemctl enable kfrgb.service

# Start the service
sudo systemctl start kfrgb.service

# Check status
sudo systemctl status kfrgb.service

# Disable the service
sudo systemctl disable kfrgb.service

Note: This is a system service that runs with root privileges, which is necessary for loading kernel modules and configuring hardware.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages