Re: [i3] Get list of workspaces

  • From: Michael Stapelberg <michael@xxxxxxxx>
  • To: Discussions/Questions about the i3 window manager <i3-discuss@xxxxxxxxxxxxx>
  • Date: Tue, 24 Jul 2012 14:20:10 +0200

Hi Anders,

Quoting Anders Bo Rasmussen (2012-07-24 14:07:34)

of currently available workspaces. Is there a way I can get this list?
i3-msg -t get_workspaces

And PLEASE don’t use shell to parse this. It’s SO easy to do it in any
scripting language (Perl, Python, Ruby, …).

See also http://i3wm.org/docs/ipc.html

Best regards,
Michael

Other related posts: