diff options
| author | tslil <tslil@posteo.de> | 2026-04-04 17:57:00 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-04-04 17:57:05 +0100 |
| commit | f68490ef97b0393f6eef2916fe15abe2540be610 (patch) | |
| tree | 49e06d3e30fabc3ad884bcbed3543d077b0dc1d6 /machi_status | |
| parent | 6fe67af72bc313870675f215d46b1fb6f7361b0d (diff) | |
machi_status: for waybar
Diffstat (limited to 'machi_status')
| -rwxr-xr-x | machi_status | 3 |
1 files changed, 3 insertions, 0 deletions
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])"' |
