A little utility to display workspaces in i3. To be used with bar, the lightweight bar.
i3-workspaces listens on events for workspaces changes; as soon as there is a change, it will ask i3 for all its workspaces and send it properly formatted to the stdout which is read by bar afterwards. The format is hardcoded to display workspaces in the center of the bar, with the focused workspace being underlined.
- github.com/proxypoke/i3ipc
> go build
> ./i3-workspaces | bar
CC0