From fd70b6acbfc27f825f70170525334d87aa41008f Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 9 Mar 2024 23:34:43 +0000 Subject: [PATCH] rofi: tune maximum height --- hosts/common/programs/rofi/config.rasi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/common/programs/rofi/config.rasi b/hosts/common/programs/rofi/config.rasi index ef9f2bd6c..2defeb94d 100644 --- a/hosts/common/programs/rofi/config.rasi +++ b/hosts/common/programs/rofi/config.rasi @@ -106,10 +106,12 @@ window { /* 520px @ font size 20 gives 13 rows + filter */ /* 482px @ font size 20 gives 12 rows + filter */ /* 446px @ font size 20 gives 11 rows + filter */ - height: calc(446 min 88.8%); + /* 90.5% @ font size 20, sway scale 2.0, moby in landscape mode: gives 7 rows + filter */ + height: calc(446 min 90.5%); /* anchor the *north* edge of the window at the *north* location of the screen */ anchor: north; location: north; + /* 11.2% lines up nicely with Firefox */ y-offset: 11.2%; }