From f01ec0048308b11c405f23f22835f3d24b207817 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 22 Apr 2025 10:08:59 +0200 Subject: [PATCH] set keyboard backlight on boot --- home/system/hyprland/keyboard-backlight.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/system/hyprland/keyboard-backlight.nix b/home/system/hyprland/keyboard-backlight.nix index 1014f01..5831f7c 100644 --- a/home/system/hyprland/keyboard-backlight.nix +++ b/home/system/hyprland/keyboard-backlight.nix @@ -10,6 +10,7 @@ let echo $color > /sys/devices/platform/hp-wmi/rgb_zones/zone03 } state="white" + set_keyboard_backlight ${config.lib.stylix.colors.base0D} while true; do BATTERY_LEVEL=$(cat /sys/class/power_supply/BAT*/capacity) if [[ $BATTERY_LEVEL -le 10 ]]; then