From a2fb8246a5402eb0a8754f7912ede4b1f2e0eea9 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sat, 19 Aug 2023 15:22:04 +0000 Subject: [PATCH] Add 1:1 aspect ratio support. --- packages/jelos/profile.d/02-distribution | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/jelos/profile.d/02-distribution b/packages/jelos/profile.d/02-distribution index 871fa31aa..c25d4f427 100644 --- a/packages/jelos/profile.d/02-distribution +++ b/packages/jelos/profile.d/02-distribution @@ -150,6 +150,9 @@ function get_aspect_ratio() { ASPECT=$(printf "%.2f" $(echo "(${FBWIDTH} / ${FBHEIGHT})" | bc -l)) case ${ASPECT} in + 1.00) + ASPECT="1:1" + ;; 1.50|0.67) ASPECT="3:2" ;;