mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-15 06:32:40 +00:00
fix: Fixes window titles not always showing properly in window picker.
This commit is contained in:
@@ -61,6 +61,9 @@ generate_rows() {
|
|||||||
|
|
||||||
for address in $addresses; do
|
for address in $addresses; do
|
||||||
title=$(hyprctl clients -j | jq -r ".[] | select(.address == \"$address\") | .title")
|
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")
|
rows+=("$address|$title")
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user