From 8ef17e0185e07920ed9815c428981e605a08ee47 Mon Sep 17 00:00:00 2001 From: tslil Date: Mon, 13 Apr 2026 20:35:44 +0100 Subject: machi_status toggle_layout.sh: more compact machi status, stupid hack to toggle layout --- machi_status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'machi_status') diff --git a/machi_status b/machi_status index 9354635..cd962bd 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 | if length > 48 then .[0:48] + "..." else . end)"' | sed -u 's/&/\&/g; s//\>/g; s/"/\"/g; s/'"'"'/\'/g' +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 | if length > 48 then .[0:48] + "..." else . end)"' | sed -u 's/&/\&/g; s//\>/g; s/"/\"/g; s/'"'"'/\'/g' -- cgit v1.2.3