Merge branch 'main' of github.com:anotherhadi/nixy

This commit is contained in:
Hadi
2025-04-22 13:53:09 +02:00

View File

@@ -10,6 +10,7 @@ let
echo $color > /sys/devices/platform/hp-wmi/rgb_zones/zone03 echo $color > /sys/devices/platform/hp-wmi/rgb_zones/zone03
} }
state="white" state="white"
set_keyboard_backlight ${config.lib.stylix.colors.base0D}
while true; do while true; do
BATTERY_LEVEL=$(cat /sys/class/power_supply/BAT*/capacity) BATTERY_LEVEL=$(cat /sys/class/power_supply/BAT*/capacity)
if [[ $BATTERY_LEVEL -le 10 ]]; then if [[ $BATTERY_LEVEL -le 10 ]]; then