diff options
| author | tslil <tslil@posteo.de> | 2026-04-05 09:49:02 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-04-05 09:49:07 +0100 |
| commit | cd8f6249d34d4a750d77c185c7e856c04a5bdf9d (patch) | |
| tree | 37de621e6a6d7312f83cc5c58f69ae3c967f0579 | |
| parent | 7c8a93f286d0767abd936f5e4372ec7f9763ae45 (diff) | |
machi_status: html escape
| -rwxr-xr-x | machi_status | 2 |
1 files changed, 1 insertions, 1 deletions
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; s/'"'"'/\'/g' |
