diff --git a/home/services/system/power-monitor.nix b/home/services/system/power-monitor.nix index c746516b..5624bf68 100644 --- a/home/services/system/power-monitor.nix +++ b/home/services/system/power-monitor.nix @@ -26,11 +26,9 @@ profile="$AC_PROFILE" fi - # set the new profile - if [ $prevProfile != "$profile" ]; then - echo setting power profile to "$profile" - powerprofilesctl set "$profile" - fi + # set the initial profile + echo setting power profile to "$profile" + powerprofilesctl set "$profile" prevProfile="$profile" prevStatus="$currentStatus"