Commit graph

2 commits

Author SHA1 Message Date
codegax
54b95f6196 swaysavetree: match workspace by number too
--workspace was documented as accepting a name or a number, but
the lookup only compared against the IPC name, so common
workspaces such as "1: web" (num=1) could not be selected with
--workspace 1. Parse a numeric argument and also compare against
the num field. Update the manpage accordingly.
2026-05-02 17:25:00 -06:00
codegax
cc4ba936e9 ipc-json,swaysavetree: round-trip placeholder swallows
ipc_json_describe_container emits the original swallows JSON for
unfilled placeholders. New sway-save-tree binary dumps a
workspace tiling tree as append_layout-compatible JSON,
synthesising swallows from app_id / class / instance.
2026-05-01 17:50:00 -06:00