zsh/dcauto: Use regualar instead of civil daylight

This commit is contained in:
Simon Bruder 2021-07-25 20:19:59 +02:00
parent 42a83bea7f
commit a90fef89c0
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -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 = {