From cd8f6249d34d4a750d77c185c7e856c04a5bdf9d Mon Sep 17 00:00:00 2001 From: tslil Date: Sun, 5 Apr 2026 09:49:02 +0100 Subject: machi_status: html escape --- machi_status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machi_status b/machi_status index 6a544ad..9da5fa3 100755 --- a/machi_status +++ b/machi_status @@ -1,3 +1,3 @@ #!/usr/bin/env sh -machictl -watch $WAYBAR_OUTPUT_NAME | jq --unbuffered -r '"W: \(.current_workspace_index + 1)/\(.total_workspaces) | P: \(.workspace_info.current_panel_index + 1)/\(.workspace_info.total_panels) | F: \(.panel_info.total_windows) | \(.window_info.title | .[0:32])"' +machictl -watch $WAYBAR_OUTPUT_NAME | jq --unbuffered -r '"W: \(.current_workspace_index + 1)/\(.total_workspaces) | P: \(.workspace_info.current_panel_index + 1)/\(.workspace_info.total_panels) | F: \(.panel_info.total_windows) | \(.window_info.title | .[0:32])"' | sed -u 's/&/\&/g; s//\>/g; s/"/\"/g; s/'"'"'/\'/g' -- cgit v1.2.3