diff --git a/home-manager/home.nix b/home-manager/home.nix index 44d304a..ef39b34 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -126,8 +126,7 @@ in current_time=$(date +%H:%M) # Calculate the sunrise and sunset times for today using sunwait - sunrise_time=$(sunwait rise $LATITUDE $LONGITUDE | awk '{print $2}') - sunset_time=$(sunwait set $LATITUDE $LONGITUDE | awk '{print $2}') + light=$(sunwait poll) echo $sunrise_time echo $sunset_time