diff --git a/hosts/niks/configuration.nix b/hosts/niks/configuration.nix index 04b78d5..51af8cd 100644 --- a/hosts/niks/configuration.nix +++ b/hosts/niks/configuration.nix @@ -290,8 +290,8 @@ ${hyprland}/bin/hyprctl keyword animations:enabled false ''; in '' - SUBSYSTEM == "power_supply", ENV{POWER_SUPPLY_ONLINE} == "1", RUN += "${power_supply}" - SUBSYSTEM == "power_supply", ENV{POWER_SUPPLY_ONLINE} == "0", RUN += "${battery}" + SUBSYSTEM=="power_supply",ENV{POWER_SUPPLY_ONLINE}=="1",RUN+="${power_supply}" + SUBSYSTEM=="power_supply",ENV{POWER_SUPPLY_ONLINE}=="0",RUN+="${battery}" ''; };