From a90fef89c0c3dc75c0871a6226663cab252d3500 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 25 Jul 2021 20:19:59 +0200 Subject: [PATCH] zsh/dcauto: Use regualar instead of civil daylight --- users/simon/modules/zsh/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/simon/modules/zsh/default.nix b/users/simon/modules/zsh/default.nix index 87bddfe..2e74183 100644 --- a/users/simon/modules/zsh/default.nix +++ b/users/simon/modules/zsh/default.nix @@ -17,7 +17,7 @@ let latitude = (toString nixosConfig.location.latitude) + (if nixosConfig.location.latitude > 0 then "N" else "S"); longitude = (toString nixosConfig.location.longitude) + (if nixosConfig.location.longitude > 0 then "E" else "W"); in - "${pkgs.sunwait}/bin/sunwait poll civil ${latitude} ${longitude} | grep -qE '^DAY$' && dynamic-colors switch solarized-light || dynamic-colors switch solarized-dark"; + "${pkgs.sunwait}/bin/sunwait poll ${latitude} ${longitude} | grep -qE '^DAY$' && dynamic-colors switch solarized-light || dynamic-colors switch solarized-dark"; in { programs = {