diff options
| author | tslil <tslil@posteo.de> | 2026-04-13 20:35:44 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-04-13 20:35:54 +0100 |
| commit | 8ef17e0185e07920ed9815c428981e605a08ee47 (patch) | |
| tree | e7c6f883a8cbff723c968ca330037c0689599e1a /machi_status | |
| parent | fe1065e754bd6a86220c75f2e08508a81903f445 (diff) | |
machi_status toggle_layout.sh: more compact machi status, stupid hack to toggle layout
Diffstat (limited to 'machi_status')
| -rwxr-xr-x | machi_status | 2 |
1 files changed, 1 insertions, 1 deletions
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; 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; s/'"'"'/\'/g' |
