From a006539bf196550c3852350a02ce5a559836daa4 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Thu, 9 Oct 2025 12:50:45 -0400 Subject: [PATCH] fix: Fixes window titles not always showing properly in window picker. --- env/.local/scripts/hypr/utils/windows/window-picker | 3 +++ 1 file changed, 3 insertions(+) diff --git a/env/.local/scripts/hypr/utils/windows/window-picker b/env/.local/scripts/hypr/utils/windows/window-picker index 2d41c6c..4892dc8 100755 --- a/env/.local/scripts/hypr/utils/windows/window-picker +++ b/env/.local/scripts/hypr/utils/windows/window-picker @@ -61,6 +61,9 @@ generate_rows() { for address in $addresses; do title=$(hyprctl clients -j | jq -r ".[] | select(.address == \"$address\") | .title") + # Replace in occurrences of what we use as delimiter in the title, so they're presented + # correctly. + title=${title//|/-} rows+=("$address|$title") done }