From f68490ef97b0393f6eef2916fe15abe2540be610 Mon Sep 17 00:00:00 2001 From: tslil Date: Sat, 4 Apr 2026 17:57:00 +0100 Subject: machi_status: for waybar --- machi_status | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 machi_status (limited to 'machi_status') diff --git a/machi_status b/machi_status new file mode 100755 index 0000000..6a544ad --- /dev/null +++ b/machi_status @@ -0,0 +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])"' -- cgit v1.2.3