eww -> hyprstatus: Fixed window title breaking when quotes

This commit is contained in:
GaspardCulis 2024-09-11 11:06:11 +02:00
parent 1cdd5b2330
commit 42c4eb7a13
No known key found for this signature in database
GPG key ID: BC18146756955609

View file

@ -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