nate zhou 507f76f981 Add: bar-modes patch
Add modes_labels indicator to bar, which behaves like river-classic's
dam bar. This patch has to be applied after the bar and modes patch.
2026-03-09 06:37:16 +01:00

877 B

dwl bar-modes patch example

Description

Add a mode indicator to bar that tells which mode you are in, just like river-classic's dam bar.

The string from modes_labels defined in config.h is used, while normal mode is ignored.

Another usage is to serve as a hint for each modes keybindings:

enum {
    BROWSER,
};
const char *modes_lablels[] = {
    "[f]irefox [b]rave [c]hromium [q]utebrowser",
};

Dependencies

this patch depends on:

Download

Authors