From 428f2be7d8ef8e4808a1c15d6a448155412f58b2 Mon Sep 17 00:00:00 2001 From: deadvey Date: Thu, 12 Dec 2024 15:55:57 +0000 Subject: [PATCH] 2024-12-12 15:55 : id 406 --- home-manager/home.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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