From 251997cf54825a60029bb3cb7ac92f78d9ee1bcf Mon Sep 17 00:00:00 2001 From: Joe Dang <32990976+mrjoedang@users.noreply.github.com> Date: Tue, 9 Sep 2025 12:19:52 -0600 Subject: [PATCH] fix: keybinding menu size (#1152) --- bin/omarchy-menu-keybindings | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-menu-keybindings b/bin/omarchy-menu-keybindings index 99a49c1..1d1b40a 100755 --- a/bin/omarchy-menu-keybindings +++ b/bin/omarchy-menu-keybindings @@ -83,7 +83,11 @@ parse_bindings() { }' } +monitor_height=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .height') +menu_height=$((monitor_height * 40 / 100)) + dynamic_bindings | \ sort -u | \ parse_bindings | \ - walker --dmenu --theme keybindings -p 'Keybindings' + walker --dmenu --theme keybindings -p 'Keybindings' -w 800 -h "$menu_height" +