i3 / i3/i3

i3bar: Support customizations in workspace buttons protocol

Open
#5,387 5 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
10.6k
Forks
822
PR merge metrics
No merged PRs in 30d

Description

## I'm submitting a…

[ ] Bug

[x] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

## Current Behavior

The i3bar workspace button protocol only supports the standard key-values of the `GET_WORKSPACES` command

## Desired Behavior

We can enhance the protocol with configuration that is already supported by i3bar (examples copied from https://github.com/i3/i3/issues/3818):
* `"min_width":32` (related to #3711)
* `"separator":true` — personally I find it is useful to visually separate groups of workspaces.
* `"color":[...]` — could be used to distinguish fake empty workspaces.

## Impact

[ ] This feature requires new configuration and/or commands

## Environment
Output of `i3 --moreversion 2>&-`:

i3 version: 4.22

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.