Show master client title as workspace label in bar
Each tag is drawn as a fixed-width label with the first tagtitlelen characters of its master client's title; empty tags show tagempty. Redraw the bar on any title change and after movestack/zoom, since these can change a label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,8 @@ static uint32_t colors[][3] = {
|
||||
|
||||
/* tagging */
|
||||
static char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
||||
static const char *tagempty = "[ - ]"; /* label of empty workspaces */
|
||||
static const unsigned int tagtitlelen = 7; /* title characters per workspace label */
|
||||
|
||||
/* logging */
|
||||
static int log_level = WLR_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user