From 42c4eb7a1376789c6da3d0f8e6ba0b8ea77b1b3b Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Wed, 11 Sep 2024 11:06:11 +0200 Subject: [PATCH] eww -> hyprstatus: Fixed window title breaking when quotes --- bar/eww/scripts/hypr/hyprstatus | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bar/eww/scripts/hypr/hyprstatus b/bar/eww/scripts/hypr/hyprstatus index ba6f2f2..942500b 100755 --- a/bar/eww/scripts/hypr/hyprstatus +++ b/bar/eww/scripts/hypr/hyprstatus @@ -9,11 +9,11 @@ current (){ } title (){ - hyprctl activewindow -j | jq --raw-output .title + hyprctl activewindow -j | jq .title } status (){ - echo "{\"spaces\": $(spaces), \"current\": \"$(current)\", \"title\": \"$(title)\"}" + echo "{\"spaces\": $(spaces), \"current\": $(current), \"title\": $(title)}" } status